Forums Register Login

JSP compilation error on JBOSS 7

+Pie Number of slices to send: Send
Hello,

I am back at the forum after a long time.

I am stuck at a problem. Running an application on JDK 8 and JBoss 7. While deploying the application, getting the below error:



Need help urgently.

Regards
+Pie Number of slices to send: Send
I've added this post to a couple of other forums which might be relevant.

In particular I noticed the word "eclipse" in the error report. That suggests you might be running all of this in the Eclipse IDE. If that's the case then, in my experience, you get this kind of problem if the Eclipse project is misconfigured and it doesn't have a proper reference to a valid JDK.
+Pie Number of slices to send: Send

Even I thought that after going through the answer in different forums. But after I generate the WAR is it really relevant what IDE I am using?

Also, in the same Eclipse Workspace I have few other projects, which are deploying fine.

+Pie Number of slices to send: Send
 

Souvik Dasgupta wrote:
Even I thought that after going through the answer in different forums. But after I generate the WAR is it really relevant what IDE I am using?

Also, in the same Eclipse Workspace I have few other projects, which are deploying fine.



Well, the JSPs are compiled by JBoss at run time, so yes it could be relevant. And it does look like Eclipse is doing the compiling, based on the error message.

Also, each Eclipse project has its own configuration to say what JDK to use, so the fact that those projects don't have that kind of compiler error doesn't tell you much. Unfortunately I haven't used JBoss in Eclipse so I can't tell you which project you should be looking at, but presumably it isn't the same project where your servlets have compiled successfully.
He's giving us the slip! Quick! Grab this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2292 times.
Similar Threads
Only a type can be imported. mypackage.StringManipulation resolves to a package
Compile .java file on JSP
retrieve value from JSP
org.apache.jasper.JasperException: Unable to compile class for JSP
Error compiling JSP
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 08:04:22.