精华帖 (1) :: 良好帖 (0) :: 新手帖 (14) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2011-02-15
弄了半天终于进去了,菜就是菜,好好学习。
|
|
返回顶楼 | |
发表时间:2011-02-19
Dao目录下DaoCompassBase这个类有问题吧
|
|
返回顶楼 | |
发表时间:2011-02-19
kenchen0805 写道 Dao目录下DaoCompassBase这个类有问题吧
这个类还没用上,里面的代码没用,你自己写吧,就是写几个通用的增删改查 |
|
返回顶楼 | |
发表时间:2011-02-21
DaoCompassBase没有问题了,是lib的问题,对了发布后,报这个错Unable to instantiate Action, loginPingTaiAction, defined for 'loginPingTaiAction' in namespace '/loginPackage'Error creating bean with name 'loginPingTaiAction': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmTemplate' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Cannot resolve reference to bean 'processEngine' while setting bean property 'processEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested exception is java.lang.NoClassDefFoundError: javax/el/FunctionMapper
com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:318) com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:399) com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:198) org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:475) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395) org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) |
|
返回顶楼 | |
发表时间:2011-02-21
kenchen0805 写道 DaoCompassBase没有问题了,是lib的问题,对了发布后,报这个错Unable to instantiate Action, loginPingTaiAction, defined for 'loginPingTaiAction' in namespace '/loginPackage'Error creating bean with name 'loginPingTaiAction': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmTemplate' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Cannot resolve reference to bean 'processEngine' while setting bean property 'processEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested exception is java.lang.NoClassDefFoundError: javax/el/FunctionMapper
com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:318) com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:399) com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:198) org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:475) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395) org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) 拜托了,把tomcat jar包的放置那一步好好看一次,juel开头的包没放正确 |
|
返回顶楼 | |
发表时间:2011-02-21
最后修改:2011-02-21
好了,谢谢
|
|
返回顶楼 | |
发表时间:2011-02-21
kenchen0805 写道 放好了,我换了tomcat7.0 解决 了,出了新问题,xception in thread ""http-bio-8080"-exec-12" java.lang.OutOfMemoryError: PermGen space
tomcat6也是一样的,最好用6,PermGen space这个一般是内存设置小了,tomcat重启会经常遇到,直接down掉启动就没问题 |
|
返回顶楼 | |
发表时间:2011-02-21
dongcb678 写道 kenchen0805 写道 放好了,我换了tomcat7.0 解决 了,出了新问题,xception in thread ""http-bio-8080"-exec-12" java.lang.OutOfMemoryError: PermGen space
tomcat6也是一样的,最好用6,PermGen space这个一般是内存设置小了,tomcat重启会经常遇到,直接down掉启动就没问题 解决内存溢出的问题,把Tomcat的内存设大一些 我博客有截图 |
|
返回顶楼 | |
发表时间:2011-02-21
感谢楼主分享,配了半天,终于成功配好了。
|
|
返回顶楼 | |
发表时间:2011-03-02
强大啊,敢问工作几年了?
|
|
返回顶楼 | |