| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I'm getting the following error during compilation : * cannot access javax.servlet.ServletException. bad class file :C:/..../lib/ javaee.jar (javax.servlet.ServletException.class) class contains wrong version 49.0 should be 48.0 Please remove or make sure it appears on the correct subdirectory of the classpath* As I'm using jdk1.4 version, I already uncommented the *jmx.serial.form=1* in the Idea properties. Any get arounds for this ? Thanks, |
|
#2
| |||
| |||
| i am having the same problem as well. Anybody has the solution please help. |
|
#3
| |||
| |||
| Hello brahma, > Hi, > I'm getting the following error during compilation : > * cannot access javax.servlet.ServletException. > bad class file :C:/..../lib/ javaee.jar > (javax.servlet.ServletException.class) > class contains wrong version 49.0 should be 48.0 > Please remove or make sure it appears on the correct subdirectory of > the classpath* > > As I'm using jdk1.4 version, I already uncommented the > *jmx.serial.form=1* in the Idea properties. > Any get arounds for this ? > Thanks, Check your module's dependencies. There are probably a dependency on javaee.jar from IDEA installation. Remove it and add a dependency on j2ee.jar from the same directory. Javaee.jar is build with Java 5, while j2ee.jar is done with 1.4. Alexander. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.