On Wednesday, May 10, 2017 at 6:57:25 AM UTC+2, Gal Lavie wrote:
Hi everyoneI develop application in gwt and google app engine.until now i used with gwt 2.7 lib and google app engine 1.51 libi try to upgrade the gwt 2.7 to 2.8.1 liband i have 2 problems nowi hope you can help me1) when i try to run the project i get exception in devModeBase.class file in run methodthis is the log of run + exception:Running CodeServer with parameters: [-noprecompile, -port, 65462, -sourceLevel, 1.8, -bindAddress, 127.0.0.1, -launcherDir, /Users/gallavie/Documents/
workspace/Darimpo/war, -logLevel, INFO, -style, OBFUSCATED, com.darimpo.Darimpo, com.darimpo.Darimpo] Super Dev Mode starting up
workDir: /var/folders/fj/
8gtg078929j8hjtfzyy5srv40000gn /T/gwt-codeserver- 8030568012575356208.tmp 2017-05-10 06:44:10.582:INFO::main: Logging initialized @3822ms
Loading Java files in com.darimpo.Darimpo.
Ignored 33 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Module setup completed in 4961 ms
Loading Java files in com.darimpo.Darimpo.
Ignored 33 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Module setup completed in 1273 ms
2017-05-10 06:44:15.046:INFO:oejs.Server:
main: jetty-9.2.z-SNAPSHOT 2017-05-10 06:44:15.164:INFO:oejsh.
ContextHandler:main: Started o.e.j.s.ServletContextHandler@ 7a508fdc{/,null,AVAILABLE} 2017-05-10 06:44:15.301:INFO:oejs.
ServerConnector:main: Started ServerConnector@4ca4b342{HTTP/ 1.1}{127.0.0.1:65462} 2017-05-10 06:44:15.313:INFO:oejs.Server:
main: Started @8553ms
The code server is ready at http://127.0.0.1:65462/
Code server started in 6.828 s ms
2017-05-10 06:44:15.702:INFO:oejs.Server:
main: jetty-9.2.z-SNAPSHOT 2017-05-10 06:44:19.948:WARN:oejuc.
AbstractLifeCycle:main: FAILED org.eclipse.jetty.annotations. ServletContainerInitializersSt arter@1e23623: java.lang.NoSuchMethodError: javax.servlet.ServletContext. getJspConfigDescriptor() Ljavax/servlet/descriptor/ JspConfigDescriptor; java.lang.NoSuchMethodError: javax.servlet.ServletContext.
getJspConfigDescriptor() Ljavax/servlet/descriptor/ JspConfigDescriptor;
2) when i try to compile the project i get this exception
[ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.
InternalCompilerException: Unexpected error during visit. at com.google.gwt.dev.jjs.ast.
JVisitor.translateException( JVisitor.java:111) at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:276) at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:265) at com.google.gwt.dev.jjs.ast.
JVisitor.accept(JVisitor.java: 118) at com.google.gwt.dev.jjs.ast.
JCastOperation.traverse( JCastOperation.java:76) at com.google.gwt.dev.jjs.ast.
JModVisitor.traverse( JModVisitor.java:361) at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:273) at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:265) at com.google.gwt.dev.jjs.ast.
JVisitor.accept(JVisitor.java: 118) at com.google.gwt.dev.jjs.ast.
JDeclarationStatement. traverse( JDeclarationStatement.java:49) at com.google.gwt.dev.jjs.ast.
JModVisitor$ListContext. traverse(JModVisitor.java:88) at com.google.gwt.dev.jjs.ast.
JModVisitor. acceptWithInsertRemove( JModVisitor.java:331) at com.google.gwt.dev.jjs.ast.
JBlock.traverse(JBlock.java: 94) at com.google.gwt.dev.jjs.ast.
JModVisitor.traverse( JModVisitor.java:361) at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:273) at com.google.gwt.dev.jjs.ast.
JVisitor.accept(JVisitor.java: 139) at com.google.gwt.dev.jjs.ast.
JVisitor.accept(JVisitor.java: 135) at com.google.gwt.dev.jjs.ast.
JMethodBody.traverse( JMethodBody.java:83) at com.google.gwt.dev.jjs.ast.
JModVisitor.traverse( JModVisitor.java:361) at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:273) at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:265) at com.google.gwt.dev.jjs.ast.
JMethod.visitChildren(JMethod. java:786) at com.google.gwt.dev.jjs.ast.
JMethod.traverse(JMethod.java: 778) at com.google.gwt.dev.jjs.ast.
JModVisitor.traverse( JModVisitor.java:361) at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:273) at com.google.gwt.dev.jjs.ast.
JModVisitor.accept( JModVisitor.java:265) at com.google.gwt.dev.jjs.impl.
UnifyAst.mainLoop(UnifyAst. java:1401) at com.google.gwt.dev.jjs.impl.
UnifyAst.exec(UnifyAst.java: 896) at com.google.gwt.dev.jjs.
JavaToJavaScriptCompiler. unifyJavaAst( JavaToJavaScriptCompiler.java: 1410) at com.google.gwt.dev.jjs.
JavaToJavaScriptCompiler. constructJavaAst( JavaToJavaScriptCompiler.java: 1222) at com.google.gwt.dev.jjs.
JavaToJavaScriptCompiler. precompile( JavaToJavaScriptCompiler.java: 1140) at com.google.gwt.dev.jjs.
JavaToJavaScriptCompiler. precompile( JavaToJavaScriptCompiler.java: 255) at com.google.gwt.dev.Precompile.
precompile(Precompile.java: 255) at com.google.gwt.dev.Precompile.
precompile(Precompile.java: 202) at com.google.gwt.dev.Precompile.
precompile(Precompile.java: 143) at com.google.gwt.dev.Compiler.
compile(Compiler.java:204) at com.google.gwt.dev.Compiler.
compile(Compiler.java:155) at com.google.gwt.dev.Compiler.
compile(Compiler.java:144) at com.google.gwt.dev.Compiler$1.
run(Compiler.java:118) at com.google.gwt.dev.
CompileTaskRunner.doRun( CompileTaskRunner.java:55) at com.google.gwt.dev.
CompileTaskRunner. runWithAppropriateLogger( CompileTaskRunner.java:50) at com.google.gwt.dev.Compiler.
main(Compiler.java:125) Caused by: java.lang.
NoClassDefFoundError: com/google/gwt/core/ext/ typeinfo/HasMetaData at com.google.gwt.maps.jsio.
rebind.JSWrapperGenerator. hasTag(JSWrapperGenerator. java:129) at com.google.gwt.maps.jsio.
rebind.TaskFactory$ FlyweightPolicy.shouldBind( TaskFactory.java:155) at com.google.gwt.maps.jsio.
rebind.TaskFactory. extractMethods(TaskFactory. java:309) at com.google.gwt.maps.jsio.
rebind.JSWrapperGenerator. generate(JSWrapperGenerator. java:314)
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment