Monday, April 7, 2014

Re: GWT development locked out

For your first problem in DevMode:

GWT 2.6 uses Jetty 8 which is compiled against slf4j-api-1.6.x. Also GWT's svn repository, that stores all 3rd party libraries, only contains slf4j-api-1.6.1 and slf4j-log4j12-1.6.1. 

So I would assume something in your maven project provides a 1.5.x binding. Does mvn dependency:resolve show anything?


For your SDM problem:

You must make sure that your project's class AND source files are available to SDM. From command line you would launch SDM using

java -classpath <project class files>:<project libs>:<gwt sdk + codeserver.jar> com.google.gwt.dev.codeserver.CodeServer -src <project source> <module name>

If you forget the -src parameter I think you get the error message you are seeing. So I would assume its a maven / pom issue.


Speaking of Maven:

it seems like your pom still references gwt-maven-plugin version 2.5.1 although you are using GWT 2.6. Maybe you should change that.

https://github.com/m-m-m/mmm/blob/master/pom.xml#L335


-- J.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment