Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » /aspectjweaver.jar /aspectjweaver.jar [message #1065350] Tue, 25 June 2013 11:46 Go to next message
Marek Jagielski is currently offline Marek JagielskiFriend
Messages: 92
Registered: April 2012
I start working with AJDT. I wanted to try ltw run through lunch configuration. However, after run of simple project, nothing happens.

I use Eclipse RC3 and AJDT 2.2.3 from Installed all plugins.

After investigate a little more I saw that in Debug perspective there is lunched run for even not one second. I checked error log of eclipse and I found this:

!ENTRY org.eclipse.ajdt.ui 4 0 2013-06-25 12:48:12.189
!MESSAGE /aspectjweaver.jar
!STACK 0 /aspectjweaver.jar
	at org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler.findBundleEntry(
	at org.eclipse.osgi.framework.internal.core.BundleResourceHandler.openConnection(
	at org.eclipse.core.runtime.internal.adaptor.URLConverterImpl.resolve(
	at org.eclipse.core.runtime.FileLocator.resolve(
	at org.eclipse.ajdt.internal.launching.LTWApplicationLaunchConfigurationDelegate.getLTWClasspath(
	at org.eclipse.ajdt.internal.launching.LTWApplicationLaunchConfigurationDelegate.launch(
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(
	at org.eclipse.debug.internal.ui.DebugUIPlugin$

As I found in code:

Delegate looks jar aspectjweaver.jar in org.aspectj.weaver and aspectjrt.jar in org.aspectj.runtime. I checked that this jars are not there. I added it manually and lunch is executed.

Now the error is:

Error opening zip file or JAR manifest missing : file:/home/marek/Projects/systemInCloudExamples/eclipse/plugins/org.aspectj.weaver_1.7.3.20130613144500-a.jar!/aspectjweaver.jar
Error occurred during initialization of VM
agent library failed to init: instrument

I can look into initialization of VM but before I prefer to ask you if you know what is wrong?

Thank you for help,

Re: /aspectjweaver.jar [message #1065411 is a reply to message #1065350] Tue, 25 June 2013 15:36 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Thanks for reporting this. We changed the packaging of the aspectj jars in AJDT. The aspectj jars are now proper osgi bundles. I thought I fixed this in all places in the code, but I missed the LTW launcher.
Re: /aspectjweaver.jar [message #1065866 is a reply to message #1065411] Fri, 28 June 2013 03:10 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Fixed now in the latest dev build.

See here:

Use this update site for the fix:
Previous Topic:XML POS Tagger
Next Topic:Where do I configure which jars AJDT uses inside eclipse?
Goto Forum:

Current Time: Thu Feb 20 10:28:46 GMT 2020

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

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

Back to the top