This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes java Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "java Error" Watch "java Error" New topic

java Error

fang eve

Joined: Jun 22, 2006
Posts: 26

i try the code, on local machine, it can work, but when i execute my JSP codes on the server, i have the following errors:

at org.apache.log4j.Category.getInstance(
at com.dejima.utils.log.LogSetUp.<clinit>(Unknown Source)
at com.dejima.utils.log.LogManager.a(Unknown Source)
at com.dejima.utils.log.LogManager.<init>(Unknown Source)
at java.lang.Class.newInstance0(
at java.lang.Class.newInstance(
at java.beans.Beans.instantiate(
at java.beans.Beans.instantiate(
at org.apache.jsp.ndpreceiver_jsp._jspService(Unknown Source)
Caused by: access denied java:113)

Why does this error appear? How can i solve it. thanks
[ June 28, 2006: Message edited by: fang eve ]
Aravind Prasad
Ranch Hand

Joined: Dec 28, 2005
Posts: 263
Dear fang eve .,
Can u please send the code also.. So that it will be easy for trouble shooting the bug..

fang eve

Joined: Jun 22, 2006
Posts: 26
I run the wrong coding that why i get error, sorry.. but running the actual code, i have this error:

-on local machine :
- it tells me, bad class file
class file has wrong version 49.0, should be 48.0. how can i check the version or how do the system check the version?

-on server:
- java.lang.NoClassDefFoundError

do they mean the same thing?
[ June 28, 2006: Message edited by: fang eve ]
I agree. Here's the link:
subject: java Error
Similar Threads
Starting WL 5.1 after deploying an Entity bean
JavaRanch Web Component Mock Exam is down
Error in HTTPS connection
Help with runtime.exe and javac from command line
log4j -- NoClassDefFoundError: org/apache/log4j/Category