aspose file tools*
The moose likes Servlets and the fly likes i m getting error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "i m getting error" Watch "i m getting error" New topic
Author

i m getting error

ch padmavathi
Greenhorn

Joined: Jul 10, 2008
Posts: 8
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

Joined: Sep 26, 2006
Posts: 9519
    
    2

Check if log4j is in your classpath.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Rajkumar balakrishnan
Ranch Hand

Joined: May 29, 2008
Posts: 445

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 ]

Never try to be a hard-worker. Be a smart-worker.
My Blog
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9519
    
    2

Just place the log4j.properties file in the classpath oy your app and rest should work fine.
ch padmavathi
Greenhorn

Joined: Jul 10, 2008
Posts: 8
Ok,Thanks for giving reply
ch padmavathi
Greenhorn

Joined: Jul 10, 2008
Posts: 8
Ok,Thanks
ch padmavathi
Greenhorn

Joined: Jul 10, 2008
Posts: 8
Ok,Thanks
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3355

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


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3355

"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

Joined: Mar 06, 2001
Posts: 13459

"ch padmavathi" is fine as a display name. Barely acceptable, but acceptable
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3355

That's fine David. Just I have pointed out the URL to get it corrected and fully compliant
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i m getting error