|
|
Re: EMF with Maven [message #1651905 is a reply to message #1651860] |
Thu, 05 March 2015 10:34   |
Eclipse User |
|
|
|
Hi, Syed,
NoClassDefFoundError happens when a class was found (not
ClassNotFoundException) but failed to initialize after loading. So, it
seems that the Platform class is present on the classpath but some
exception happened during its initialization that caused it to become
nonviable.
So, if you can debug in the GAE environment, then you could step
through the Platform class initialization to find what the problem is.
HTH,
Christian
On 2015-03-05 14:57:05 +0000, Syed Rizvi said:
> Hi,
> I'm working with EMF on a non-plugin, Google AppEngine Maven based
> project. I have the following dependencies as stated in my pom.xml:
>
> <version.emfcommon>2.8.0.v20120911-0500</version.emfcommon>
> <version.emfecore>2.8.1.v20120911-0500</version.emfecore>
> <version.emfecorexmi>2.8.0.v20120911-0500</version.emfecorexmi>
> <version.emfquery>1.2.100.v200903190031_fixed</version.emfquery>
> <version.emfqueryocl>2.0.0.v20091215-1624</version.emfqueryocl>
> <version.ocl>3.2.1.v20120917-1739</version.ocl>
> <version.oclcommon>1.0.0.v20120516-1543</version.oclcommon>
> <version.oclecore>3.2.0.v20120522-1637</version.oclecore>
> <version.osgi>3.8.1.v20120830-144521</version.osgi>
> <version.core.runtime>3.7.0</version.core.runtime>
>
> The project works find on the local machine but not when deployed to
> GAE. There I get the org.eclipse.core.runtime.Platform
> (java.lang.NoClassDefFoundError). How could this be? Are there any
> dependencies that I am somehow forgetting?
>
> I can see all dependencies being present in the war/WEB-INF/lib folder
> too. There isn't a chance that a NoClassDefFoundError could arise.
>
> Please let me know if there is anything additional that you may need.
> Looking forward to your help, thank you.
> <image>
|
|
|
|
Re: EMF with Maven [message #1652119 is a reply to message #1651993] |
Thu, 05 March 2015 13:08   |
Eclipse User |
|
|
|
Hi, Ammar,
Yeah, sorry, that was what I meant. I don't know anything about the
GAE environment, so I don't know how difficult it might be to debug.
Cheers,
Christian
On 2015-03-05 16:37:39 +0000, Syed Rizvi said:
> Hi Christian,
> I do not have the source for the Platform class initialization and
> hence that is something beyond my reach. Or am I not following you
> correctly?
>
> Thanks,
> Ammar
|
|
|
Re: EMF with Maven [message #1653078 is a reply to message #1652119] |
Thu, 05 March 2015 23:30   |
Eclipse User |
|
|
|
I expect the platform code is not designed to be run unless started as
an Equinox application so I'm not sure how what Ammar had worked
locally. I.e., how exactly was it run locally isn't clear.
On 05/03/2015 7:08 PM, Christian W. Damus wrote:
> Hi, Ammar,
>
> Yeah, sorry, that was what I meant. I don't know anything about the
> GAE environment, so I don't know how difficult it might be to debug.
>
> Cheers,
>
> Christian
>
>
> On 2015-03-05 16:37:39 +0000, Syed Rizvi said:
>
>> Hi Christian,
>> I do not have the source for the Platform class initialization and
>> hence that is something beyond my reach. Or am I not following you
>> correctly?
>>
>> Thanks,
>> Ammar
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03650 seconds