Posts

Showing posts with the label maven

No URL showing in GWT 2.0 Development mode

I've had some problems starting GWT 2.0 projects in Eclipse with the build-in Jetty server. The problem was that no URL was showing in the Development Mode tab, and the project didn't seem to start properly. This problem only occures when i generate project files with the maven-eclipse-plugin. Both in Linux and Windows. To fix the problem, add the project natures by hand to the maven-eclipse-plugin configuration. This is what my configuration looks like: maven-eclipse-plugin com.google.gwt.eclipse.core.gwtNature com.google.gdt.eclipse.core.webAppNature com.google.gwt.eclipse.core.gwtProjectValidator com.google.gdt.eclipse.core.webAppProjectValidator org.eclipse.jdt.launching.JRE_CONTAINER com.google.gwt.eclipse.core.GWT_CONTAINER com.google.gwt:gwt-user com.google.gwt:gwt-dev If you find something that isn't necessary please reply to this post.

IllegalArgumentException in Maven

Today i was spending a couple of hours trying to get Hudson to use Maven to compile a project. Actually the Hudson part was smooth, but Maven decided to crash when a compilation was started. This was the stacktrace i got: [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalArgumentException at sun.net.www.ParseUtil.decode(ParseUtil.java:189) at sun.misc.URLClassPath$JarLoader. (URLClassPath.java:563) at sun.misc.URLClassPath$3.run(URLClassPath.java:331) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:320) at sun.misc.URLClassPath.getLoader(URLClassPath.java:297) at sun.misc.URLClassPath.getResource(URLClassPath.java:167) at java.net.URLClassLoader$1.run(URLClassLoader.java...