• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i m getting error

 
ch padmavathi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.
ConvertUtils).
log4j:WARN Please initialize the log4j system properly.
[ERROR] HostConfig - Error deploying web application directory Flat1 <java.lang.
UnsupportedClassVersionError: Flat/action/FlatApplicationContext (Unsupported ma
jor.minor version 48.0)>java.lang.UnsupportedClassVersionError: Flat/action/Flat
ApplicationContext (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1634)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:860)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1307)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1189)
 
Joe Harry
Ranch Hand
Posts: 10111
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check if log4j is in your classpath.
 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use some text to describe your problem and try to put the code under code tags so that it's easy for others to read and understand. Ok.Do you think you got your solution by Simple pasting the errors here. It's a bit frustrating for all who read a post with not enough details.Try to ask some questions..And try to use appropriate headings for your post atleast in future.
[ July 10, 2008: Message edited by: Rajkumar balakrishnan ]
 
Joe Harry
Ranch Hand
Posts: 10111
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just place the log4j.properties file in the classpath oy your app and rest should work fine.
 
ch padmavathi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok,Thanks for giving reply
 
ch padmavathi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok,Thanks
 
ch padmavathi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok,Thanks
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apart from that log4j jar file, you have one more error


UnsupportedClassVersionError: Flat/action/FlatApplicationContext (Unsupported major.minor version 48.0)>java.lang.UnsupportedClassVersionError: Flat/action/FlatApplicationContext


Have a look at the JDK being used to compile and the JRE used to run
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ch padmavathi",

I think you may have to better update your display name according to the Ranch's naming policy. You can easily do so by editing your profile

Also as rajkumar pointed out, kindly Use a meaningful subject line so that it would be easy for the fellow ranchers to catch up easily!
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ch padmavathi" is fine as a display name. Barely acceptable, but acceptable
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's fine David. Just I have pointed out the URL to get it corrected and fully compliant
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Raghavan Muthu:
Have a look at the JDK being used to compile and the JRE used to run


To be a bit more explicit, it looks like you're compiling your code with a more recent version of Java and running it against an older version.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic