1

此程序无法显示网页:尝试运行示例项目时,我在 tomcat 服务器中收到此响应。我不知道如何解决它。你能帮助伙计们吗?

Sep 29, 2013 11:46:59 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path: 
C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;
C:\Windows;D:\app\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;
C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Dell\Dell Wireless WLAN Card;C:\Program Files\VDownloader;
C:\Program Files\Java\jdk1.7.0_25\bin;C:\Apache Ant-1.9.2\bin;
C:\Program Files (x86)\apache-maven-3.1.0\bin;
C:\Program Files (x86)\VisualSVN Server\bin;.

Sep 29, 2013 11:46:59 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property
'source' to 'org.eclipse.jst.jee.server:quickstart' did not find a matching 
property.

Sep 29, 2013 11:47:00 PM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-8090"]

Sep 29, 2013 11:47:00 PM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]

Sep 29, 2013 11:47:00 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1395 ms

Sep 29, 2013 11:47:00 PM org.apache.catalina.core.StandardService startInternal 
INFO: Starting service Catalina

Sep 29, 2013 11:47:00 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.12
java.lang.VerifyError: class org.hibernate.type.WrappedMaterializedBlobType
overrides final method getReturnedClass.()Ljava/lang/Class;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2818)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1148)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1643)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:1956)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1919)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1806)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1765)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1751)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1255)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:882)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5081)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.startup.Catalina.start(Catalina.java:620)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
4

2 回答 2

0

使用http://www.jboss.org/tattletale检查您的类路径。根据这个Hibernate 论坛条目,您的类路径上还可以有多个不兼容的 Hibernate-xxx.jar 库。

同样根据我的检查,这可能是安全管理器的问题,因为代码试图覆盖(遮盖)标记为最终的方法。因此,安全管理器接缝以检测克服 Java 安全措施的潜在尝试(无法替换子类中的最终方法)。

检查您是否使用了不兼容的休眠版本,因为这恰好是来自休眠源的类。

于 2013-09-30T04:27:18.670 回答
0
java.lang.VerifyError: class org.hibernate.type.WrappedMaterializedBlobType overrides

final method getReturnedClass.()Ljava/lang/Class;

看来您在类路径中有不受支持的 Hibernate 版本(或)它的依赖 jars。如果有帮助,请参阅此 jira 。

于 2013-09-30T04:07:46.423 回答