<String
>.....),在執行時會發生JBOSS無法認得JDK5.0語法的問題,主要是因為JBOSS中的Tomcat中還保持JDK1.4的Compile,解決方式如下:
to solve it you need to:
1. delete ${jboss.root}/server/default/deploy/jbossweb-tomcat55.sar/jasper-compiler-jdt.jar
2. copy ant.jar (from the latest ant release or any ant later than 1.5) to the jbossweb-tomcat55.sar directory
3. edit jbossweb-tomcat55.sar/conf/web.xml and add the following to the JspServlet entry:
Code: |
|
沒有留言:
張貼留言