geronimo-iia / winstone

Winstone is a servlet container that was written out of a desire to provide servlet functionality without the bloat that full J2EE compliance introduces.
GNU Lesser General Public License v2.1
22 stars 3 forks source link

Problems when building 1.0.1 #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Download current svn tree
2.mvn clean
3../winstone/target/winstone-1.0.1-SNAPSHOT.jar

For (2) I had to uncomment lines 45-67 in the lower ./winstone/pom.xml
regarding the plugin <groupId>org.intelligentsia.keystone</groupId>, since
the build could not find that (I'm no Maven hero).

What is the expected output? What do you see instead?
My problem is that I get
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/slf4j/LoggerFactory
    at net.winstone.boot.BootStrap.<clinit>(BootStrap.java:28)
    at net.winstone.Winstone.main(Winstone.java:17)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory

Then I tried to put all 3 jars in 
./test-webapp/target/test-webapp/WEB-INF/lib/*.jar into one, and call
java -cp winstone.jar net.winstone.Winstone
but htat gives me 
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"
and that class is not in the slf4j-api-1.5.10.jar
=====
I successfully downloaded and ran winstone-0.9.10.jar (327.7 kB) from
sourceforge.net, but that is from 2008, and I thought I would need 
something newer. I would prefer to use a prepacked distribution, though.

Regards - Georg

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by Dr.Georg.Fischer@gmail.com on 27 Jan 2012 at 6:26

GoogleCodeExporter commented 9 years ago
Maven stuff has been fixed....

You must launch the *-boot.jar archive; i've provided one build in download 
section.

Thanks for your report

Regards

Jerome  

Original comment by jguibert@gmail.com on 28 Jan 2012 at 9:57

GoogleCodeExporter commented 9 years ago

Original comment by jguibert@gmail.com on 28 Jan 2012 at 9:59

GoogleCodeExporter commented 9 years ago

Original comment by jguibert@gmail.com on 28 Jan 2012 at 10:01