Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse Error - org/apache/log4j/net/JMSSink(I continuously get "java.lang.NoClassDefFoundError: org/apache/log4j/net/JMSSink")
Eclipse Error - org/apache/log4j/net/JMSSink [message #719173] Fri, 26 August 2011 09:02 Go to next message
Eclipse UserFriend
I continuosuly get the below error message in my eclipse environment

java.lang.NoClassDefFoundError: org/apache/log4j/net/JMSSink
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.net.JMSSink
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main"

- I installed and deleted Visual Basic 6 for short period. And this problem started after the unistalling VB6. I remember while installing VB6 it showed a message saying VB6 will do some changes in java environment
- After uninstalling VB6, and seeing the above problem. I tried reinstalling the jdk and it did not help.
- These codes were already running before.

I don't know what else I can do. Any help will be appreciated.

Best Regards,

Re: Eclipse Error - org/apache/log4j/net/JMSSink [message #719221 is a reply to message #719173] Fri, 26 August 2011 12:56 Go to previous messageGo to next message
Eclipse UserFriend
On 08/26/2011 04:02 AM, murat sahin wrote:
> I continuosuly get the below error message in my eclipse environment
>
> java.lang.NoClassDefFoundError: org/apache/log4j/net/JMSSink
> Caused by: java.lang.ClassNotFoundException: org.apache.log4j.net.JMSSink
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> Exception in thread "main"
> - I installed and deleted Visual Basic 6 for short period. And this
> problem started after the unistalling VB6. I remember while installing
> VB6 it showed a message saying VB6 will do some changes in java environment
> - After uninstalling VB6, and seeing the above problem. I tried
> reinstalling the jdk and it did not help.
> - These codes were already running before.
>
> I don't know what else I can do. Any help will be appreciated.
>
> Best Regards,
>
>
looks like you are missing a jar file. You need to add the jar that
contains the missing class file to your build path.
Re: Eclipse Error - org/apache/log4j/net/JMSSink [message #722677 is a reply to message #719221] Tue, 06 September 2011 14:08 Go to previous messageGo to next message
Eclipse UserFriend
I found the jar file from internet and added into my builtpath. The result is the same. you can see the screenshots from from my project in the attachment.

But, before; I was not supposed to add this jar file into my builtpath. I don't know what happened but has cost me several weeks to solve, and there is still no solution until now.

Comments for solution will be highly appreciated.
  • Attachment: untitled.JPG
    (Size: 53.87KB, Downloaded 387 times)

[Updated on: Tue, 06 September 2011 14:10] by Moderator

Report message to a moderator

Re: Eclipse Error - org/apache/log4j/net/JMSSink [message #723049 is a reply to message #719173] Wed, 07 September 2011 14:10 Go to previous message
Eclipse UserFriend
I finally solved the problem.

I was using Galileo Eclipse. I used Helios and the problem got solved.
I still don't know how but, probably there was some sort of corruption in My Galileo Eclipse installation.

Now I will continue with Helios.

I had beed trying to solve this problem day and night for nearly 3 weeks.

Thanks,
Best Regards,
Previous Topic:the port type specified for the basicHttpEndpoint binding is undefined
Next Topic:Change background for a given IJavaElement
Goto Forum:
  


Current Time: Wed Feb 12 03:33:22 GMT 2025

Powered by FUDForum. Page generated in 0.03553 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top