2008年1月14日 星期一

JBoss 4.2.2 getJspApplicationContext(ServletContext) is undefined for the type JspFactory

When I start up the JBoss 4.2.2, I didn't see any exceptions on the console.
But if I enter the link on browser, it displayed

getJspApplicationContext(ServletContext) is undefined for the type JspFactory

About the web framework, I used Struts 2.0.
And the environment is Eclipse 3.3 and MyEclipse 6.0.1.
-------------------------------------------------------------------
The reason is the "jar" confilcted between the project and JBoss.
If you use the "Export" function of Eclipse, check the "*.war" file with WinZip or WinRAR.
See if there is a "javax.servlet.jsp.jar" existed in WEB-INF/lib, if yes, removed it and re-zipped.
Of course, you have to keep the original folder structure.

沒有留言: