NoSuchMethodError in Product Release [message #448444] |
Tue, 25 April 2006 06:58 |
Eclipse User |
|
|
|
Originally posted by: calisteron.calinied.de
Hi,
I'm working on a RCP standalone application. Everythings works fine when I start the app in the eclipse IDE, but I'm running into bad trouble if I build a release via a product configuration.
The application can be started, but I receive a NoSuchMethodError during the execution:
java.lang.NoSuchMethodError:
de.package.AbstractPO.isProcessed()Z
This is mystic. I opened the jar file and decompiled the class AbstractPO and there is a methode called "isProcessed()".
This problem only occurs when I start the product release, not within the IDE.
I'm totally confused about this. Does anybody has a hint or a similar problem?
I also wonder what the capital Z means after the methode name (see mini stack trace above)
Best regards,
Andreas Altwein
|
|
|
Re: NoSuchMethodError in Product Release [message #448518 is a reply to message #448444] |
Tue, 25 April 2006 17:19 |
|
Andreas Altwein wrote:
> Hi,
>
> I'm working on a RCP standalone application. Everythings works fine when I start the app in the eclipse IDE, but I'm running into bad trouble if I build a release via a product configuration.
>
> The application can be started, but I receive a NoSuchMethodError during the execution:
>
> java.lang.NoSuchMethodError:
> de.package.AbstractPO.isProcessed()Z
Are there any earlier errors in the error log? If the plugin won't
start for any reason, then you can no longer load classes from that plugin.
The other option is that the RCP standalone app doesn't have enough
plugins to load your plugin ... Are all of your plugin dependencies in
your <rcp>/plugins directory?
>
> I also wonder what the capital Z means after the methode name (see mini stack trace above)
Z must be the return type.
Later,
PW
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
Re: NoSuchMethodError in Product Release [message #448523 is a reply to message #448518] |
Tue, 25 April 2006 19:08 |
Eclipse User |
|
|
|
Originally posted by: calisteron.calinied.de
Hi,
> Are there any earlier errors in the error log? If
> the plugin won't
> start for any reason, then you can no longer load
> classes from that plugin.
No, there were not... but after all, I finally found the mistake I made: Unfortunaltey there was a class with the same name in the classpath (why ever, i don't care - it was the work of my companion) which did not have the method isProcessed.
I threw away the JAR file with this obsolete class and now everything works fine.
Nevertheless, many thanks for your answer....
Best regards,
Andreas
|
|
|
Powered by
FUDForum. Page generated in 0.04717 seconds