You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Stanton Sievers <ss...@us.ibm.com> on 2011/07/20 00:53:10 UTC
NoClassDefFound Error when building the Java5 profile
Hi Everyone,
Is anybody else seeing this error when building the Java5 profile? I
built the Java5 profile a few weeks ago and it worked just fine.
Thanks,
-Stanton
-------------------------------------------------------------------------------
Test set: org.apache.shindig.common.cache.ehcache.EhCacheCacheProviderTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<<
FAILURE!
org.apache.shindig.common.cache.ehcache.EhCacheCacheProviderTest Time
elapsed: 0.001 sec <<< ERROR!
java.lang.NoClassDefFoundError: javax.transaction.TransactionManager
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
at
net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:303)
at
net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:218)
at net.sf.ehcache.CacheManager.configure(CacheManager.java:552)
at net.sf.ehcache.CacheManager.init(CacheManager.java:324)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:209)
at
org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.<init>(EhCacheCacheProvider.java:58)
at
org.apache.shindig.common.cache.ehcache.EhCacheCacheProviderTest.setup(EhCacheCacheProviderTest.java:37)
Re: NoClassDefFound Error when building the Java5 profile
Posted by Stanton Sievers <ss...@us.ibm.com>.
The problem appears to be with the IBM SDK I was using at the time of my
original e-mail. I can build just fine with a Sun/Oracle Java 5 SDK.
On another note, I pulled down the shindig-gadgets jar from here (
http://hudson.inuus.com/job/Shindig%20Java%201.5/519/org.apache.shindig$shindig-gadgets/
) because I expected to see the jar name appended with "-java5". I ran
javap on JsCompilerModule.class (randomly selected) in that jar and it
looks like it's not Java 5, but Java 6 per the 50 major version.
Compiled from "JsCompilerModule.java"
public class org.apache.shindig.gadgets.js.JsCompilerModule extends
com.google.inject.AbstractModule
SourceFile: "JsCompilerModule.java"
minor version: 0
major version: 50
Any idea what's up with that?
Thanks,
-Stanton
From: Paul Lindner <li...@inuus.com>
To: dev@shindig.apache.org,
Date: 07/29/2011 22:04
Subject: Re: NoClassDefFound Error when building the Java5 profile
Which JVM?
Tests are passing on Jenkins:
http://hudson.inuus.com/job/Shindig%20Java%201.5/
On Tue, Jul 19, 2011 at 3:53 PM, Stanton Sievers
<ss...@us.ibm.com>wrote:
> Hi Everyone,
>
> Is anybody else seeing this error when building the Java5 profile? I
> built the Java5 profile a few weeks ago and it worked just fine.
>
> Thanks,
> -Stanton
>
>
>
-------------------------------------------------------------------------------
> Test set:
org.apache.shindig.common.cache.ehcache.EhCacheCacheProviderTest
>
>
-------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
<<<
> FAILURE!
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProviderTest Time
> elapsed: 0.001 sec <<< ERROR!
> java.lang.NoClassDefFoundError: javax.transaction.TransactionManager
> at java.lang.J9VMInternals.verifyImpl(Native Method)
> at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
> at
>
>
net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:303)
> at
>
>
net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:218)
> at net.sf.ehcache.CacheManager.configure(CacheManager.java:552)
> at net.sf.ehcache.CacheManager.init(CacheManager.java:324)
> at net.sf.ehcache.CacheManager.<init>(CacheManager.java:209)
> at
>
>
org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.<init>(EhCacheCacheProvider.java:58)
> at
>
>
org.apache.shindig.common.cache.ehcache.EhCacheCacheProviderTest.setup(EhCacheCacheProviderTest.java:37)
>
>
--
Paul Lindner -- lindner@inuus.com -- linkedin.com/in/plindner
Re: NoClassDefFound Error when building the Java5 profile
Posted by Paul Lindner <li...@inuus.com>.
Which JVM?
Tests are passing on Jenkins:
http://hudson.inuus.com/job/Shindig%20Java%201.5/
On Tue, Jul 19, 2011 at 3:53 PM, Stanton Sievers <ss...@us.ibm.com>wrote:
> Hi Everyone,
>
> Is anybody else seeing this error when building the Java5 profile? I
> built the Java5 profile a few weeks ago and it worked just fine.
>
> Thanks,
> -Stanton
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.shindig.common.cache.ehcache.EhCacheCacheProviderTest
>
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<<
> FAILURE!
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProviderTest Time
> elapsed: 0.001 sec <<< ERROR!
> java.lang.NoClassDefFoundError: javax.transaction.TransactionManager
> at java.lang.J9VMInternals.verifyImpl(Native Method)
> at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
> at
>
> net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:303)
> at
>
> net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:218)
> at net.sf.ehcache.CacheManager.configure(CacheManager.java:552)
> at net.sf.ehcache.CacheManager.init(CacheManager.java:324)
> at net.sf.ehcache.CacheManager.<init>(CacheManager.java:209)
> at
>
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.<init>(EhCacheCacheProvider.java:58)
> at
>
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProviderTest.setup(EhCacheCacheProviderTest.java:37)
>
>
--
Paul Lindner -- lindner@inuus.com -- linkedin.com/in/plindner