• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

java Error

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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:

java.lang.ExceptionInInitializerError
at org.apache.log4j.Category.getInstance(Category.java:530)
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(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at java.beans.Beans.instantiate(Beans.java:204)
at java.beans.Beans.instantiate(Beans.java:48)
at org.apache.jsp.ndpreceiver_jsp._jspService(Unknown Source)
.......
Caused by: java.security.AccessControlException: access denied java:113)
.....
.....
....

Why does this error appear? How can i solve it. thanks
[ June 28, 2006: Message edited by: fang eve ]
 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear fang eve .,
Can u please send the code also.. So that it will be easy for trouble shooting the bug..

Thanks
regards
Aravind
 
fang eve
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic