- 浏览: 623951 次
- 性别:
- 来自: 杭州
文章分类
最新评论
-
xianzi_2008:
xianzi_2008 写道楼主请教下,我缓存了一个List& ...
Ehcache -
xianzi_2008:
楼主请教下,我缓存了一个List<Bean>对象, ...
Ehcache -
jsdsh:
收藏好.五个字
hibernate之one-to-many详细 -
Tlife:
好!!!!
hibernate------HQL总结 -
yanqingluo:
例子很恰当。
观察者模式
异常信息如下:
- 2007-10-15 13:57:19 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
- 2007-10-15 13:57:20 StandardContext[/jsp-examples]ContextListener: contextInitialized()
- 2007-10-15 13:57:20 StandardContext[/jsp-examples]SessionListener: contextInitialized()
- 2007-10-15 13:57:20 StandardContext[/servlets-examples]ContextListener: contextInitialized()
- 2007-10-15 13:57:20 StandardContext[/servlets-examples]SessionListener: contextInitialized()
- 2007-10-15 13:57:23 StandardContext[/ssh]Initializing WebApplicationContext for Struts ActionServlet 'action', module ''
- 2007-10-15 13:57:25 StandardContext[/ssh]action: null
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package
- Caused by: java.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package
- at java.lang.ClassLoader.checkCerts(Unknown Source)
- at java.lang.ClassLoader.preDefineClass(Unknown Source)
- at java.lang.ClassLoader.defineClass(Unknown Source)
- at java.security.SecureClassLoader.defineClass(Unknown Source)
- at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
- at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
- at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
- at java.lang.ClassLoader.loadClassInternal(Unknown Source)
- at org.hibernate.mapping.Table.<init></init>(Table.java:33)
- at org.hibernate.cfg.Mappings.addTable(Mappings.java:164)
- at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:255)
- at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:238)
- at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:109)
- at org.hibernate.cfg.Configuration.add(Configuration.java:385)
- at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:426)
- at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:683)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
- at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:355)
- at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
- at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
- at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
- at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
- at javax.servlet.GenericServlet.init(GenericServlet.java:211)
- at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
- at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
- at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
- at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
- at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
- at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
- at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
- at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
- at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
- at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:687)
- at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
- at org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
- at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
- at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
- at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
- at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
- at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
- at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
- at org.apache.catalina.core.StandardService.start(StandardService.java:480)
- at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
- at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
- 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:284)
- at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
- 2007-10-15 13:57:25 StandardContext[/ssh]Marking servlet action as unavailable
- 2007-10-15 13:57:25 StandardContext[/ssh]Servlet /ssh threw load() exception
- javax.servlet.UnavailableException
- at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:880)
- at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
- at javax.servlet.GenericServlet.init(GenericServlet.java:211)
- at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
- at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
- at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
- at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
- at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
- at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
- at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
- at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
- at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
- at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:687)
- at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
- at org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
- at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
- at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
- at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
- at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
- at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
- at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
- at org.apache.catalina.core.StandardService.start(StandardService.java:480)
- at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
- at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
- 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:284)
- at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
解决办法:
主要是commons-collections.jar包冲突,把下面1个jar包拷贝到lib下替换掉原来的即可:
- commons-collections.jar (546.3 KB)
- 下载次数: 2596
评论
6 楼
zyy126
2008-03-03
为什么我的还是报错呢?下面句话是什么意思?
注意:一定要到应用的发布目录去做这个工作,而且替换后不能重新发布应用,然后立即重启Tomcat再测试。
注意:一定要到应用的发布目录去做这个工作,而且替换后不能重新发布应用,然后立即重启Tomcat再测试。
5 楼
alizv
2007-12-06
一样的问题,今天看了楼主的帖子终于给解决了,哪个感谢啊.... 简直是无语言表
4 楼
futureroad
2007-10-19
我也这个问题,,正好解决了。。。谢谢~~~
3 楼
ttitfly
2007-10-17
主要是commons-collections.jar包冲突,把新传的那个jar包拷贝到lib下替换掉原来的即可。
如果再报下面的错误:
ERROR [org.hibernate.proxy.BasicLazyInitializer] - CGLIB Enhancement failed: dao.User
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
则是:
Spring 和 Hibernate 共用的一些 jar 文件发生了版本冲突, 删除 WEB-INF/lib/asm-2.2.3.jar即可
如果再报下面的错误:
ERROR [org.hibernate.proxy.BasicLazyInitializer] - CGLIB Enhancement failed: dao.User
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
则是:
Spring 和 Hibernate 共用的一些 jar 文件发生了版本冲突, 删除 WEB-INF/lib/asm-2.2.3.jar即可
2 楼
M249140611
2007-10-17
我的也出現這問題,怎麽解決不了?
2007-10-17 14:09:09 StandardWrapper[/Demo:default]: Loading container servlet default
2007-10-17 14:09:10 Initializing WebApplicationContext for Struts ActionServlet 'action', module ''
2007-10-17 14:09:12 action: null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.UnsupportedClassVersionError: org/hibernate/cfg/SecondPass (Unsupported major.minor version 49.0)
java.lang.UnsupportedClassVersionError: org/hibernate/cfg/SecondPass (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1687)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:968)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1409)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at org.hibernate.cfg.Configuration.add(Configuration.java:386)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:427)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:679)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:353)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
2007-10-17 14:09:12 StandardWrapper[/Demo:action]: Marking servlet action as unavailable
2007-10-17 14:09:12 StandardContext[/Demo]: Servlet /Demo threw load() exception
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:880)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
2007-10-17 14:09:09 StandardWrapper[/Demo:default]: Loading container servlet default
2007-10-17 14:09:10 Initializing WebApplicationContext for Struts ActionServlet 'action', module ''
2007-10-17 14:09:12 action: null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.UnsupportedClassVersionError: org/hibernate/cfg/SecondPass (Unsupported major.minor version 49.0)
java.lang.UnsupportedClassVersionError: org/hibernate/cfg/SecondPass (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1687)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:968)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1409)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at org.hibernate.cfg.Configuration.add(Configuration.java:386)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:427)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:679)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:353)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
2007-10-17 14:09:12 StandardWrapper[/Demo:action]: Marking servlet action as unavailable
2007-10-17 14:09:12 StandardContext[/Demo]: Servlet /Demo threw load() exception
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:880)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
1 楼
asdf_121121
2007-10-16
上面三个可是zip文件哦,不是jar包,也根本没用啊!
发表评论
-
spring jdbc源码分析
2007-12-28 17:19 3238分别构建三个参数: PreparedStatementCrea ... -
springside笔记二
2007-10-19 15:28 31891.web层(action) StrutsAction类: j ... -
springside笔记一
2007-10-19 11:46 35331. dao层 以Hibernate为例 首先定义了一个类 j ... -
Spring配置初始化ApplicationContext
2007-10-17 23:57 95111. 在struts-config.xml里,以插件的形式 ... -
acegi简单说明
2007-09-09 11:48 11571.acegi四大组件 过滤器 ... -
Acegi获取用户信息
2006-12-27 16:29 2262在SecurityContextHolder中存储当前和应用程 ...
相关推荐
《Struts1.2+Spring1.2+Hibernate3.0构建的企业人力资源管理系统详解》 在JavaEE领域,Struts、Spring和Hibernate是三个极为重要的框架,它们共同构成了经典的MVC(Model-View-Controller)架构,为企业级应用开发...
《从零开始创建基于 Struts1.2 + Hibernate3.0 的 Web 工程》 在Web开发领域,Struts1.2 和 Hibernate3.0 是两个非常经典的框架,它们分别用于控制层和持久化层的管理。Struts1.2 提供了MVC(模型-视图-控制器)...
本文将详细介绍如何在MyEclipse 8.5环境下搭建基于Struts2.1、Spring3.0以及Hibernate3.3的SSH框架,并通过图解的方式引导读者完成整个搭建过程。 #### 二、创建 Web 项目 首先,需要在MyEclipse 8.5中创建一个新...
myeclipse整合Struts1.2+Hibernate3.2+Spring2.5的留言板demo,可以参考参考,希望对你能有帮助,其中lib下的jar包对于ssh工程可以直接使用,原文地址: ...
Struts1.2、Spring1.2和Hibernate2.0是经典的Java企业级开发框架组合,它们分别负责不同的职责,共同构建了一个强大的后端架构。Struts1.2作为MVC(模型-视图-控制器)框架,主要处理前端请求并控制页面展示;Spring...
搭建Struts2.1+Spring3.0+Hibernate3.3框架是开发Java Web应用程序时常见的一种技术组合,也被称为SSH框架。这三个框架分别负责不同的职责:Struts2处理前端控制器,Spring提供依赖注入和事务管理,Hibernate则作为...
Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3 该文件的内容来自网络,我搜集并整理供大家参考学习。
(struts1+spring1.2+hibernate3),操作oracle 9i, 增上改查例子简单易懂跑起来没错,包俱全,直接导入myeclipse就能跑起来 数据库很简单 oracle里新建一个 表id name age 数据库名称可自定义修改,这个例子是根据...
该示例使用MyEclipse 5.5 IDE用来整合四个技术(Struts 1.2, Spring 2.0, Hibernate 3.2和Ajax技术)的轻量级的JavaEE。 操作步骤如下: 1. 下载并解压之后,使用MyEclipse导入工程 2. 找到demo目录中的.sql数据库...
其实一看异常类型根本就不是自己书写的代码出了问题,而是MyEclipse所提供的jar包有问题,很容易出现jar包冲突问题,本SSH整合jar包是经过 eclipse3.2 + myeclipse5.5 + Struts1.2 + Hibernate3.1 + Spring2.0测试通过...
SSH,struts1.2+hibernate3.2+spring2.5,缺的包,myeclipse6.5集成后,去掉asm-2.2.3包,加上这几个就好,解决“sessionfactory”无法创建问题
Struts2.1.8+Hibernate3.3+Spring3.0是经典的Java Web开发框架组合,也被称为SSH(Struts2、Spring、Hibernate)。这个环境的搭建涉及到多个步骤,涵盖了MVC(Model-View-Controller)框架、持久化框架和依赖注入...
同时,Eclipse的插件如MyEclipse或STS(Spring Tools Suite)提供了对Struts2和Hibernate的集成支持,可以自动生成Action、DAO、Service等代码,提高开发效率。 总的来说,"Struts2+Hibernate3.0+mysql5.0"的组合为...
Struts1.2和Hibernate是两个非常经典的...不过,随着技术的发展,现代的Web应用更多地采用Spring MVC和Spring Data JPA等更先进的框架,但理解Struts1.2和Hibernate的基础对于理解这些新框架的工作原理仍然很有帮助。
本教程推荐的环境配置为MyEclipse7.5,搭配Struts2.2.1版本,同时采用MyEclipse自带的Spring和Hibernate版本。特别注意,下载Struts时应选择完整版(Full Distribution),因为这一版本包含了用于快速开发的“空工程...
在本项目中,MyEclipse 9.0被用作开发工具,它支持Struts2和Hibernate的集成,简化了开发流程,同时也提供了图形化的数据库管理工具,方便与MySQL数据库进行交互。 【MySQL】 MySQL是一款开源、免费的关系型数据库...