vaadin 6.8.13
我的应用程序正常工作。但是在应用程序工作期间,vaadin 在控制台中显示了很多警告。
是否有可能在不添加 gwt 库的情况下禁用此警告?警告示例:
16:09:27,342 WARN [org.jboss.modules] (http-localhost-127.0.0.1-8080-1) Failed to define class com.vaadin.terminal.gwt.client.ui.ShortcutActionHandler$ShortcutActionHandlerOwner in Module "deployment.vaadin_1.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link com/vaadin/terminal/gwt/client/ui/ShortcutActionHandler$ShortcutActionHandlerOwner (Module "deployment.vaadin_1.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:396)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)
at org.jboss.modules.Module.loadModuleClass(Module.java:517)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_79]
at java.lang.ClassLoader.defineClass(Unknown Source) [rt.jar:1.7.0_79]
at java.security.SecureClassLoader.defineClass(Unknown Source) [rt.jar:1.7.0_79]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)
at org.jboss.modules.Module.loadModuleClass(Module.java:517)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_79]
at java.lang.Class.forName(Unknown Source) [rt.jar:1.7.0_79]
at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(Unknown Source) [rt.jar:1.7.0_79]
at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Unknown Source) [rt.jar:1.7.0_79]
at sun.reflect.generics.tree.ClassTypeSignature.accept(Unknown Source) [rt.jar:1.7.0_79]
at sun.reflect.annotation.AnnotationParser.parseSig(Unknown Source) [rt.jar:1.7.0_79]
at sun.reflect.annotation.AnnotationParser.parseClassValue(Unknown Source) [rt.jar:1.7.0_79]
at sun.reflect.annotation.AnnotationParser.parseMemberValue(Unknown Source) [rt.jar:1.7.0_79]
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(Unknown Source) [rt.jar:1.7.0_79]
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Unknown Source) [rt.jar:1.7.0_79]
at sun.reflect.annotation.AnnotationParser.parseAnnotations(Unknown Source) [rt.jar:1.7.0_79]
...
Caused by: java.lang.NoClassDefFoundError: com/google/gwt/user/client/ui/HasWidgets
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_79]
at java.lang.ClassLoader.defineClass(Unknown Source) [rt.jar:1.7.0_79]
at java.security.SecureClassLoader.defineClass(Unknown Source) [rt.jar:1.7.0_79]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391)
... 57 more
Caused by: java.lang.ClassNotFoundException: com.google.gwt.user.client.ui.HasWidgets from [Module "deployment.vaadin_1.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
... 62 more