public
Created

What happens when you try to use Vaadin 7 as a "drop in replacement for GWT"

  • Download Gist
GWT to Vaadin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
[INFO] Compiling module org.appfuse.webapp.MainModule
[INFO] Validating units:
[INFO] Ignored 12 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO] Resolving org.appfuse.webapp.client.application.ApplicationValidatorFactory.GwtValidator
[INFO] Found type 'org.appfuse.webapp.client.application.ApplicationValidatorFactory.GwtValidator'
[INFO] [ERROR] Annotation error: cannot resolve org.appfuse.webapp.client.ui.login.LoginView$LoginDetails
[INFO] java.lang.ClassNotFoundException: org.appfuse.webapp.client.ui.login.LoginView$LoginDetails
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[INFO] at java.security.AccessController.doPrivileged(Native Method)
[INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
[INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
[INFO] at java.lang.Class.forName0(Native Method)
[INFO] at java.lang.Class.forName(Class.java:264)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:750)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:689)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.createAnnotation(TypeOracleMediator.java:498)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotation(TypeOracleMediator.java:648)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotations(TypeOracleMediator.java:663)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass(TypeOracleMediator.java:809)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.addNewTypes(TypeOracleMediator.java:439)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediatorFromSource.addNewUnits(TypeOracleMediatorFromSource.java:52)
[INFO] at com.google.gwt.dev.javac.CompilationState.assimilateUnits(CompilationState.java:164)
[INFO] at com.google.gwt.dev.javac.CompilationState.<init>(CompilationState.java:82)
[INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:466)
[INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:388)
[INFO] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:373)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:246)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO] [ERROR] Annotation error: expected class java.lang.Class, got null
[INFO] [ERROR] Annotation error: cannot resolve org.appfuse.webapp.proxies.UserProxy
[INFO] java.lang.ClassNotFoundException: org.appfuse.webapp.proxies.UserProxy
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[INFO] at java.security.AccessController.doPrivileged(Native Method)
[INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
[INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
[INFO] at java.lang.Class.forName0(Native Method)
[INFO] at java.lang.Class.forName(Class.java:264)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:750)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:689)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.createAnnotation(TypeOracleMediator.java:498)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotation(TypeOracleMediator.java:648)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotations(TypeOracleMediator.java:663)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass(TypeOracleMediator.java:809)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.addNewTypes(TypeOracleMediator.java:439)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediatorFromSource.addNewUnits(TypeOracleMediatorFromSource.java:52)
[INFO] at com.google.gwt.dev.javac.CompilationState.assimilateUnits(CompilationState.java:164)
[INFO] at com.google.gwt.dev.javac.CompilationState.<init>(CompilationState.java:82)
[INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:466)
[INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:388)
[INFO] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:373)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:246)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO] [ERROR] Annotation error: expected class java.lang.Class, got null
[INFO] [ERROR] Annotation error: cannot resolve org.appfuse.webapp.client.ui.upload.FileUploadBean
[INFO] java.lang.ClassNotFoundException: org.appfuse.webapp.client.ui.upload.FileUploadBean
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[INFO] at java.security.AccessController.doPrivileged(Native Method)
[INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
[INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
[INFO] at java.lang.Class.forName0(Native Method)
[INFO] at java.lang.Class.forName(Class.java:264)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:750)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:689)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.createAnnotation(TypeOracleMediator.java:498)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotation(TypeOracleMediator.java:648)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotations(TypeOracleMediator.java:663)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass(TypeOracleMediator.java:809)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediator.addNewTypes(TypeOracleMediator.java:439)
[INFO] at com.google.gwt.dev.javac.TypeOracleMediatorFromSource.addNewUnits(TypeOracleMediatorFromSource.java:52)
[INFO] at com.google.gwt.dev.javac.CompilationState.assimilateUnits(CompilationState.java:164)
[INFO] at com.google.gwt.dev.javac.CompilationState.<init>(CompilationState.java:82)
[INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:466)
[INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:388)
[INFO] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:373)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:246)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO] [ERROR] Annotation error: expected class java.lang.Class, got null
[INFO] Finding entry point classes
[INFO] [ERROR] Errors in 'file:/Users/mraible/dev/appfuse-gwt/web/gwt/src/main/java/org/appfuse/webapp/proxies/LookupConstantsProxy.java'
[INFO] [ERROR] Line 8: The import org.appfuse.webapp.server.services.LookupRequestService cannot be resolved
[INFO] [ERROR] Line 17: LookupConstants cannot be resolved to a type
[INFO] [ERROR] Errors in 'file:/Users/mraible/dev/appfuse-gwt/web/gwt/src/main/java/org/appfuse/webapp/proxies/UserProxy.java'
[INFO] [ERROR] Line 6: The import org.appfuse.webapp.server.locators.UserLocator cannot be resolved
[INFO] [ERROR] Line 12: UserLocator cannot be resolved to a type
[INFO] [ERROR] Line 12: Class<UserLocator> cannot be resolved to a type
[INFO] [ERROR] Errors in 'file:/Users/mraible/dev/appfuse-gwt/web/gwt/src/main/java/org/appfuse/webapp/proxies/UsersSearchCriteriaProxy.java'
[INFO] [ERROR] Line 13: org.appfuse.webapp.server.services.UsersSearchCriteria cannot be resolved to a type
[INFO] [ERROR] Errors in 'file:/Users/mraible/dev/appfuse-gwt/web/gwt/src/main/java/org/appfuse/webapp/requests/LookupRequest.java'
[INFO] [ERROR] Line 7: The import org.appfuse.webapp.server.GwtServiceLocator cannot be resolved
[INFO] [ERROR] Line 8: The import org.appfuse.webapp.server.services.LookupRequestService cannot be resolved
[INFO] [ERROR] Line 9: The import org.appfuse.webapp.server.services.impl.LookupRequestServiceImpl cannot be resolved
[INFO] [ERROR] Line 19: LookupRequestService cannot be resolved to a type
[INFO] [ERROR] Line 19: GwtServiceLocator cannot be resolved to a type
[INFO] [ERROR] Line 19: Class<GwtServiceLocator> cannot be resolved to a type
[INFO] [ERROR] Errors in 'file:/Users/mraible/dev/appfuse-gwt/web/gwt/src/main/java/org/appfuse/webapp/requests/UserRequest.java'
[INFO] [ERROR] Line 7: The import org.appfuse.webapp.server.GwtServiceLocator cannot be resolved
[INFO] [ERROR] Line 8: The import org.appfuse.webapp.server.services.UserRequestService cannot be resolved
[INFO] [ERROR] Line 14: UserRequestService cannot be resolved to a type
[INFO] [ERROR] Line 14: GwtServiceLocator cannot be resolved to a type
[INFO] [ERROR] Line 14: Class<GwtServiceLocator> cannot be resolved to a type
[INFO] [ERROR] Unable to find type 'org.appfuse.webapp.client.MainEntryPoint'
[INFO] [ERROR] Hint: Previous compiler errors may have made this type unavailable
[INFO] [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.