You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-guice
I patched guice extensions to use JarJar and tried using the trunk
build but I am now getting the following exception at runtime:
java.lang.NoClassDefFoundError: com/google/inject/internal/cglib/proxy/
Enhancer
at com.google.inject.internal.BytecodeGen.<clinit>
(BytecodeGen.java:70)
at com.google.inject.DefaultConstructionProxyFactory$2.<init>
(DefaultConstructionProxyFactory.java:65)
at com.google.inject.DefaultConstructionProxyFactory.get
(DefaultConstructionProxyFactory.java:63)
at com.google.inject.ProxyFactory.createConstructionProxy
(ProxyFactory.java:81)
at com.google.inject.ProxyFactory$1.create(ProxyFactory.java:
64)
at com.google.inject.ProxyFactory$1.create(ProxyFactory.java:
62)
at com.google.inject.internal.ReferenceCache.create
(ReferenceCache.java:54)
at
com.google.inject.internal.AbstractReferenceCache.internalCreate
(AbstractReferenceCache.java:59)
at com.google.inject.internal.AbstractReferenceCache.get
(AbstractReferenceCache.java:116)
at com.google.inject.internal.ReferenceCache.get
(ReferenceCache.java:28)
at com.google.inject.ProxyFactory.get(ProxyFactory.java:57)
at com.google.inject.ConstructorInjector.<init>
(ConstructorInjector.java:50)
at com.google.inject.InjectorImpl$5.create(InjectorImpl.java:
719)
at com.google.inject.InjectorImpl$5.create(InjectorImpl.java:
715)
at com.google.inject.internal.FailableCache$1.create
(FailableCache.java:32)
at com.google.inject.internal.ReferenceCache.create
(ReferenceCache.java:54)
at
com.google.inject.internal.AbstractReferenceCache.internalCreate
(AbstractReferenceCache.java:59)
at com.google.inject.internal.AbstractReferenceCache.get
(AbstractReferenceCache.java:116)
at com.google.inject.internal.ReferenceCache.get
(ReferenceCache.java:28)
at com.google.inject.internal.FailableCache.get
(FailableCache.java:43)
at com.google.inject.InjectorImpl$LateBoundConstructor.bind
(InjectorImpl.java:446)
at com.google.inject.ClassBindingImpl.initialize
(ClassBindingImpl.java:46)
at com.google.inject.InjectorImpl.initializeBinding
(InjectorImpl.java:335)
at com.google.inject.InjectorImpl.createJustInTimeBinding
(InjectorImpl.java:606)
at com.google.inject.InjectorImpl.getJustInTimeBinding
(InjectorImpl.java:177)
at com.google.inject.InjectorImpl.getBindingOrThrow
(InjectorImpl.java:125)
at com.google.inject.InjectorImpl.getInternalFactory
(InjectorImpl.java:612)
at com.google.inject.SingleFieldInjector.<init>
(SingleFieldInjector.java:42)
at com.google.inject.InjectorImpl.getInjectors
(InjectorImpl.java:643)
at com.google.inject.InjectionRequestProcessor
$StaticInjection.validate(InjectionRequestProcessor.java:98)
at com.google.inject.InjectionRequestProcessor.validate
(InjectionRequestProcessor.java:68)
at com.google.inject.InjectorBuilder.validateStatically
(InjectorBuilder.java:165)
at com.google.inject.InjectorBuilder.buildStatically
(InjectorBuilder.java:152)
at com.google.inject.InjectorBuilder.build
(InjectorBuilder.java:97)
at com.google.inject.Guice.createInjector(Guice.java:92)
at com.google.inject.Guice.createInjector(Guice.java:69)
at com.google.inject.Guice.createInjector(Guice.java:59)
at adcaster.administrator.gui.Main$1.run(Main.java:48)
at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter
(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:
122)
Caused by: java.lang.ClassNotFoundException:
com.google.inject.internal.cglib.proxy.Enhancer
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
320)
... 46 more
Now, guice-snapshot.jar contains a JarJar'd version of cglib, but not
Enhancer.class. I'm not familiar with JarJar, is this a simple
configuration problem with the build files?
Gili
limpb...@gmail.com
unread,
Nov 22, 2008, 10:06:38 PM11/22/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-guice
On Nov 22, 9:47 am, Gili <gili.tzab...@gmail.com> wrote:
> I patched guice extensions to use JarJar and tried using the trunk
> build but I am now getting the following exception at runtime: