Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Bundle that is defined, not found (Testing my plugin, I get an error in .log)
Bundle that is defined, not found [message #716233] Tue, 16 August 2011 18:06 Go to next message
Thomas Missing name is currently offline Thomas Missing nameFriend
Messages: 5
Registered: July 2011
Junior Member
I am running Indigo on Windows, trying to develop a plugin. Trying to debug problems with log4J, I have included org.apache.commons.logging.source_1.0.4 through the dependencies tab. My plugin will not load with this dependency, but will load if I take it out. My problem is that I cannot make a call to log4j without a class load problem.

Why am I getting the error of a missing logging.source_1.0.4 bundle when I do have it in my dependencies. Yet, when I take it out my plugin loads.

Any suggestions on how to get log4j to run without classload errors? What bundle do I need?



!SESSION 2011-08-16 13:49:20.062 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data C:\x\PluginEclipse/../runtime-EclipseApplication -dev file:C:/x/PluginEclipse/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 2 0 2011-08-16 13:49:27.093
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-16 13:49:27.093
!MESSAGE Bundle reference:file:/C:/x/PluginEclipse/com.x.eclipse.sprocessing/ was not resolved.
!SUBENTRY 2 com.x.eclipse.sprocessing 2 0 2011-08-16 13:49:27.093
!MESSAGE Missing required bundle org.apache.commons.logging.source_1.0.4.

!ENTRY org.eclipse.osgi 2 0 2011-08-16 13:49:27.109
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-16 13:49:27.109
!MESSAGE Bundle com.x.eclipse.sprocessing_1.0.0 [2789] was not resolved.
!SUBENTRY 2 com.x.eclipse.sprocessing 2 0 2011-08-16 13:49:27.109
!MESSAGE Missing required bundle org.apache.commons.logging.source_1.0.4.

!ENTRY org.eclipse.ui 4 4 2011-08-16 13:49:37.984
!MESSAGE Plugin com.x.eclipse.javaassess, extension org.eclipse.ui.perspectiveExtensions, id com.x.eclipse.javaassess.views.AssessmentResultsView: Unknown extension tag found: view

!ENTRY org.eclipse.ui 4 4 2011-08-16 13:49:38.000
!MESSAGE Plugin com.x.eclipse.javaassess, extension org.eclipse.ui.perspectiveExtensions, id com.x.eclipse.javaassess.views.AssessmentResultsView: Unknown extension tag found: view
Re: Bundle that is defined, not found [message #716859 is a reply to message #716233] Thu, 18 August 2011 15:40 Go to previous message
Thomas Missing name is currently offline Thomas Missing nameFriend
Messages: 5
Registered: July 2011
Junior Member
Not sure why this error was appearing, but the INndigo version of Eclipse did not include the log4j plug-in. I ran Help->Install New Software then found Orbit->org.Apache log4j and downloaded this. To get the log4J to find my log4j.xml, I had to use these instructions: wiki.eclipse.org/SWTBot/FAQ#logging, which solved the "No appenders could be found" problem.

Now it works. After adding the log4j in the src directory will the build put the log4j.xml in the jar file?
Previous Topic:Best Place to Post RegEx question?
Next Topic:Adding New Parameter Dynamically to Property Window
Goto Forum:
  


Current Time: Fri Apr 26 07:16:23 GMT 2024

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

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

Back to the top