Reputation: 3405
I am developing a simple web application (or actually following the Java EE 5 tutorial) on WebLogic 10g.
The application is pretty simple except for the fact that it was intended for GlassFish. It consists of a simple JSP page (take a look at the link above) which connects to an EJB. However, I am getting the following error and I am not able to resolve the proper libraries for the project.
weblogic.application.WrappedDeploymentException: Absent Code attribute in method that is not native or abstract in class file javax/servlet/jsp/jstl/core/ConditionalTagSupport
My Maven pom file contains the following dependencies except client jar for these EJB
<dependency>
<groupId>javax.servlet.jsp.jstl</groupId>
<artifactId>jstl-api</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>6.0</version>
</dependency>
Upvotes: 2
Views: 293
Reputation: 38163
It seems like you are actually deploying those artifacts, which is the main problem.
There are several problems in total though:
<scope>provided</scope>
)javaee-api
artifact is stripped of all code. You can't deploy this even if WebLogic didn't implemented that API. This is why the exception you're getting says that there is no code available in the given class.Upvotes: 1