java.io.FileNotFoundException: /aspectjweaver.jar [message #1065350] |
Tue, 25 June 2013 07:46  |
Eclipse User |
|
|
|
Hi,
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 http://download.eclipse.org/tools/ajdt/43/update. 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
java.io.FileNotFoundException: /aspectjweaver.jar
at org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler.findBundleEntry(Handler.java:44)
at org.eclipse.osgi.framework.internal.core.BundleResourceHandler.openConnection(BundleResourceHandler.java:175)
at java.net.URL.openConnection(URL.java:971)
at org.eclipse.core.runtime.internal.adaptor.URLConverterImpl.resolve(URLConverterImpl.java:50)
at org.eclipse.core.runtime.FileLocator.resolve(FileLocator.java:228)
at org.eclipse.ajdt.internal.launching.LTWApplicationLaunchConfigurationDelegate.getLTWClasspath(LTWApplicationLaunchConfigurationDelegate.java:251)
at org.eclipse.ajdt.internal.launching.LTWApplicationLaunchConfigurationDelegate.launch(LTWApplicationLaunchConfigurationDelegate.java:97)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
As I found in code: http://www.ee.buu.ac.th/~acitl/project/2008/Work-Node%20Real%20Time%20Monitoring%20System%20/ecilpse+java/eclipse3.3.1.1/plugins/org.eclipse.ajdt.source_1.5.0.200706070619/src/org.eclipse.ajdt.ui_1.5.0.200706070619/src/org/eclipse/ajdt/internal/launching/LTWApplicationLaunchConfigurationDelegate.java
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,
Marek
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02266 seconds