Closed GoogleCodeExporter closed 9 years ago
Joe, this really isn't an error with the code.
To be honest, the instructions that you quote have gone through several
iterations
(I'm the guy who originally wrote the instructions).
For more up to date instructions try:
http://wavingtheshiny.collaborynth.com.au/books/fedone-book/setting
Or the instructions here:
http://code.google.com/p/wave-protocol/wiki/Installation
Original comment by JamesRPu...@gmail.com
on 11 Oct 2009 at 12:11
Indeed, just the right path was missing, this solved my problem:
export JAVA_HOME=/usr/lib/jvm/java-6-sun/
Now i have this :
Imperox:/wave-protocol# ./run-server.sh
11-okt-09 15:07:27 com.google.inject.internal.MessageProcessor visit
INFO: An exception was caught and reported. Message:
java.util.NoSuchElementException
java.util.NoSuchElementException
at java.util.AbstractList$2.next(libgcj.so.90)
at com.google.inject.spi.InjectionPoint.forMember(InjectionPoint.java:110)
at com.google.inject.spi.InjectionPoint.<init>(InjectionPoint.java:74)
at com.google.inject.spi.InjectionPoint.forConstructor(InjectionPoint.java:207)
at
com.google.inject.internal.BindingBuilder.toConstructor(BindingBuilder.java:158)
at
com.google.inject.internal.BindingBuilder.toConstructor(BindingBuilder.java:137)
at
org.waveprotocol.wave.examples.fedone.waveserver.WaveServerModule.configure(Wave
Serve
rModule.java:69)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.AbstractModule.install(AbstractModule.java:118)
at
org.waveprotocol.wave.examples.fedone.ServerModule.configure(ServerModule.java:6
3)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:127)
at com.google.inject.internal.InjectorBuilder.build(InjectorBuilder.java:105)
at com.google.inject.Guice.createInjector(Guice.java:93)
at com.google.inject.Guice.createInjector(Guice.java:70)
at com.google.inject.Guice.createInjector(Guice.java:60)
at org.waveprotocol.wave.examples.fedone.ServerMain.run(ServerMain.java:60)
at org.waveprotocol.wave.examples.fedone.ServerMain.main(ServerMain.java:50)
Exception in thread "main" com.google.inject.internal.ComputationException:
java.lang.NoClassDefFoundError:
com.google.inject.internal.cglib.core.DebuggingClassWriter$1
at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:553)
at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419)
at
com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcu
rrent
HashMap.java:2041)
at com.google.inject.internal.FailableCache.get(FailableCache.java:46)
at
com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore
.java
:48)
at
com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingI
mpl.j
ava:113)
at
com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:3
82)
at
com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.jav
a:636
)
at
com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(Injecto
rImpl
.java:568)
at
com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:1
67)
at
com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:127)
at
com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:642
)
at com.google.inject.internal.FactoryProxy.notify(FactoryProxy.java:43)
at
com.google.inject.internal.BindingProcessor.runCreationListeners(BindingProcesso
r.jav
a:238)
at
com.google.inject.internal.InjectorBuilder.initializeStatically(InjectorBuilder.
java:
134)
at com.google.inject.internal.InjectorBuilder.build(InjectorBuilder.java:108)
at com.google.inject.Guice.createInjector(Guice.java:93)
at com.google.inject.Guice.createInjector(Guice.java:70)
at com.google.inject.Guice.createInjector(Guice.java:60)
at org.waveprotocol.wave.examples.fedone.ServerMain.run(ServerMain.java:60)
at org.waveprotocol.wave.examples.fedone.ServerMain.main(ServerMain.java:50)
Caused by: java.lang.NoClassDefFoundError:
com.google.inject.internal.cglib.core.DebuggingClassWriter$1
at java.lang.Class.initializeClass(libgcj.so.90)
at
com.google.inject.internal.cglib.core.DebuggingClassWriter.toByteArray(Debugging
Class
Writer.java:71)
at
com.google.inject.internal.cglib.core.DefaultGeneratorStrategy.generate(DefaultG
enera
torStrategy.java:26)
at
com.google.inject.internal.cglib.core.AbstractClassGenerator.create(AbstractClas
sGene
rator.java:216)
at
com.google.inject.internal.cglib.core.KeyFactory$Generator.create(KeyFactory.jav
a:144
)
at com.google.inject.internal.cglib.core.KeyFactory.create(KeyFactory.java:116)
at com.google.inject.internal.cglib.core.KeyFactory.create(KeyFactory.java:108)
at com.google.inject.internal.cglib.core.KeyFactory.create(KeyFactory.java:104)
at
com.google.inject.internal.cglib.core.MethodWrapper.<clinit>(MethodWrapper.java:
22)
at java.lang.Class.initializeClass(libgcj.so.90)
at
com.google.inject.internal.cglib.core.DuplicatesPredicate.evaluate(DuplicatesPre
dicat
e.java:25)
at
com.google.inject.internal.cglib.core.CollectionUtils.filter(CollectionUtils.jav
a:52)
at
com.google.inject.internal.cglib.reflect.FastClassEmitter.<init>(FastClassEmitte
r.jav
a:69)
at
com.google.inject.internal.cglib.reflect.FastClass$Generator.generateClass(FastC
lass.
java:72)
at
com.google.inject.internal.cglib.core.DefaultGeneratorStrategy.generate(DefaultG
enera
torStrategy.java:25)
at
com.google.inject.internal.cglib.core.AbstractClassGenerator.create(AbstractClas
sGene
rator.java:216)
at
com.google.inject.internal.cglib.reflect.FastClass$Generator.create(FastClass.ja
va:64
)
at com.google.inject.internal.BytecodeGen.newFastClass(BytecodeGen.java:166)
at
com.google.inject.internal.DefaultConstructionProxyFactory$1.<init>(DefaultConst
ructi
onProxyFactory.java:52)
at
com.google.inject.internal.DefaultConstructionProxyFactory.create(DefaultConstru
ction
ProxyFactory.java:50)
at com.google.inject.internal.ProxyFactory.create(ProxyFactory.java:147)
at
com.google.inject.internal.ConstructorInjectorStore.createConstructor(Constructo
rInje
ctorStore.java:75)
at
com.google.inject.internal.ConstructorInjectorStore.access$000(ConstructorInject
orSto
re.java:27)
at
com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjector
Store
.java:35)
at
com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjector
Store
.java:31)
at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35)
at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549)
...20 more
Caused by: java.lang.ClassNotFoundException:
com.google.inject.internal.asm.util.TraceClassVisitor not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:dist/fedone-server-0.2.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.90)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at java.lang.Class.forName(libgcj.so.90)
at java.lang.Class.initializeClass(libgcj.so.90)
...46 more
Original comment by jeroenli...@gmail.com
on 11 Oct 2009 at 1:12
Anyone?
Original comment by jeroenli...@gmail.com
on 14 Oct 2009 at 9:05
Okay your system is still using gcj rather than suns own compiler.
Try using this to change the JDK
sudo update-alternatives --config java
and select the sun option.
Original comment by JamesRPu...@gmail.com
on 14 Oct 2009 at 9:36
In any case, the 0.2 jar release is pretty defunct by now (especially seeing
it's
doesn't talk with wavesandbox nicely).
Original comment by btkalman@gmail.com
on 27 Nov 2009 at 3:16
Original issue reported on code.google.com by
jeroenli...@gmail.com
on 11 Oct 2009 at 11:59