有没有人告诉我 jar包问题

quxiuer 2010-08-03 05:49:42
项目用的是struts2(前台展示) — spring2(事务管理) -- hibernate3 (注解)

可是 同一个国际化key 页面中 s:text 显示正常 action 中getText 失败报空指针

怀疑jar包问题 有人可以帮忙找出冲突的jar包吗?


<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/antlr-2.7.6rc1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/asm-attrs.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/asm.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/c3p0-0.9.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/cglib-2.1.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-logging-1.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/dwr.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/ejb3-persistence.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/freemarker-2.3.8.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate-annotations.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate-commons-annotations.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jaas.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/javassist-3.4.GA.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jaxen-1.1-beta-7.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jdbc2_0-stdext.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jta.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mysql-connector-java-5.0.8-bin.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/ognl-2.6.11.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/quartz-1.6.5.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.5.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-log4j12.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-web.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts2-core-2.0.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts2-spring-plugin-2.0.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/xerces-2.6.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/xml-apis.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-collections-2.1.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/concurrent-1.3.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/connector.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jacc-1_0-fr.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-cache.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-common.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-jmx.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-system.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jgroups-2.2.8.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/oscache-2.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/proxool-0.8.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/swarmcache-1.0rc2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/ehcache-1.5.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/backport-util-concurrent-3.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-webmvc.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/log4j.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activation.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mail.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/gdata-client-1.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/gdata-contacts-3.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/gdata-core-1.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/google-collect-1.0-rc4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.2.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.3.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-collections-3.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/xwork-2.0.7.jar"/>
...全文
107 6 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
quxiuer 2010-08-06
  • 打赏
  • 举报
回复
至今无解 决定用ResourceBundle
monkeyking1987 2010-08-04
  • 打赏
  • 举报
回复
怀疑的原因呢?
仅仅是怀疑没用吧.
liuyuhua0066 2010-08-04
  • 打赏
  • 举报
回复
lz眼神不太好啊
qingralf 2010-08-03
  • 打赏
  • 举报
回复
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-collections-2.1.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-collections-3.1.jar"/>

51,397

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧