JSP fails to compile at runtime, but does compile if the preCompileJSPs option is selected
 Technote (troubleshooting)
 
Problem(Abstract)
If the preCompileJSPs option is not selected, the JavaServer Pages™ (JSP™) compiler fails to compile the JSP at runtime and the following exception is issued in the server SystemOut log :

SRVE0026E: [Servlet Error]-[AddItem]: java.lang.UnsupportedClassVersionError: sun/tools/javac/Main (Unsupported major.minor version 48.0)
 
Cause
This problem can be caused by having the tools.jar from the Java™ 2 SDK (J2SDK) 1.4.1 in the enterprise application .ear or .war file.
 
Resolving the problem
Do not package jar files from a J2SDK into your enterprise application.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Servlet Engine/Web Container
Operating system(s): Windows
Software version: 5.0.2.5
Software edition:
Reference #: 1112538
IBM Group: Software Group
Modified date: Jul 29, 2004