Hi Alex, turns out that PS auxwww only shows the first 4096 chars of
the command line, so the classpath I posted was truncated.
Here is the full classpath I'm now using, it has both slf4j-api and
slf4j-log4j12 in it, should that suffice? I still get that exception.
(In the mean time I've been using run-jetty-run, but so far it seems
like a less flexible approach than using my RunWebApp file).
here is the non-truncated classpath:
/home/alex/dev/tng/web/target/classes:/home/alex/dev/tng/web/target/
test-classes:/home/alex/.m2/repository/net/liftweb/lift-util_2.9.1/2.4-
M4/lift-util_2.9.1-2.4-M4.jar:/home/alex/.m2/repository/commons-codec/
commons-codec/1.4/commons-codec-1.4.jar:/home/alex/.m2/repository/nu/
validator/htmlparser/htmlparser/1.2.1/htmlparser-1.2.1.jar:/home/
alex/.m2/repository/javax/mail/mail/1.4.4/mail-1.4.4.jar:/home/
alex/.m2/repository/javax/activation/activation/1.1/
activation-1.1.jar:/home/alex/.m2/repository/net/liftweb/lift-
actor_2.9.1/2.4-M4/lift-actor_2.9.1-2.4-M4.jar:/home/alex/.m2/
repository/net/liftweb/lift-json_2.9.1/2.4-M4/lift-json_2.9.1-2.4-
M4.jar:/home/alex/.m2/repository/com/thoughtworks/paranamer/paranamer/
2.3/paranamer-2.3.jar:/home/alex/.m2/repository/org/scala-lang/scalap/
2.9.1/scalap-2.9.1.jar:/home/alex/.m2/repository/org/scala-lang/scala-
compiler/2.9.1/scala-compiler-2.9.1.jar:/home/alex/.m2/repository/net/
liftweb/lift-webkit_2.9.1/2.4-M4/lift-webkit_2.9.1-2.4-M4.jar:/home/
alex/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/
commons-fileupload-1.2.2.jar:/home/alex/.m2/repository/net/liftweb/
lift-common_2.9.1/2.4-M4/lift-common_2.9.1-2.4-M4.jar:/home/alex/.m2/
repository/net/liftweb/lift-openid_2.9.1/2.4-M4/lift-openid_2.9.1-2.4-
M4.jar:/home/alex/.m2/repository/net/liftweb/lift-mapper_2.9.1/2.4-M4/
lift-mapper_2.9.1-2.4-M4.jar:/home/alex/.m2/repository/com/h2database/
h2/1.2.147/h2-1.2.147.jar:/home/alex/.m2/repository/org/apache/derby/
M4.jar:/home/alex/.m2/repository/org/openid4java/openid4java-consumer/
0.9.5/openid4java-consumer-0.9.5.jar:/home/alex/.m2/repository/commons-
httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar:/home/
alex/.m2/repository/org/openid4java/openid4java-nodeps/0.9.6/
openid4java-nodeps-0.9.6.jar:/home/alex/.m2/repository/commons-logging/
commons-logging/1.1.1/commons-logging-1.1.1.jar:/home/alex/.m2/
repository/com/google/code/guice/guice/2.0/guice-2.0.jar:/home/
alex/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-
annotations-1.0.jar:/home/alex/.m2/repository/org/apache/
httpcomponents/httpclient/4.1/httpclient-4.1.jar:/home/alex/.m2/
repository/net/sourceforge/nekohtml/nekohtml/1.9.10/
nekohtml-1.9.10.jar:/home/alex/.m2/repository/xerces/xercesImpl/2.8.1/
xercesImpl-2.8.1.jar:/home/alex/.m2/repository/xml-apis/xml-apis/
1.3.03/xml-apis-1.3.03.jar:/home/alex/.m2/repository/javax/servlet/
servlet-api/2.5/servlet-api-2.5.jar:/home/alex/.m2/repository/junit/
junit/4.7/junit-4.7.jar:/home/alex/.m2/repository/org/mortbay/jetty/
jetty/6.1.14/jetty-6.1.14.jar:/home/alex/.m2/repository/org/mortbay/
jetty/jetty-util/6.1.14/jetty-util-6.1.14.jar:/home/alex/.m2/
repository/org/mortbay/jetty/servlet-api-2.5/6.1.14/servlet-
api-2.5-6.1.14.jar:/home/alex/dev/tng/data/target/test-classes:/home/
alex/dev/tng/data/target/classes:/home/alex/dev/tng/util/target/test-
classes:/home/alex/dev/tng/util/target/classes:/home/alex/.m2/
repository/redis/clients/jedis-scripting/2.0.1-SNAPSHOT/jedis-
scripting-2.0.1-SNAPSHOT.jar:/home/alex/.m2/repository/commons-pool/
commons-pool/1.5.5/commons-pool-1.5.5.jar:/home/alex/.m2/repository/
com/snapsort/tng/javautil/1.0-SNAPSHOT/javautil-1.0-SNAPSHOT.jar:/home/
alex/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/alex/.m2/
repository/org/slf4j/slf4j-api/1.6.2/slf4j-api-1.6.2.jar:/home/
alex/.m2/repository/org/slf4j/slf4j-log4j12/1.6.2/slf4j-
log4j12-1.6.2.jar:/home/alex/.m2/repository/joda-time/joda-time/1.6/
joda-time-1.6.jar:/home/alex/.m2/repository/org/ccil/cowan/tagsoup/
tagsoup/1.2.1/tagsoup-1.2.1.jar:/home/alex/.m2/repository/org/apache/
httpcomponents/httpcore/4.1/httpcore-4.1.jar:/home/alex/.m2/repository/
commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar:/home/alex/.m2/
repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/
alex/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.5/
jackson-core-asl-1.9.5.jar:/home/alex/.m2/repository/org/codehaus/
jackson/jackson-mapper-asl/1.9.5/jackson-mapper-asl-1.9.5.jar:/home/
alex/.m2/repository/com/codahale/jerkson_2.9.1/0.5.1-SNAPSHOT/
jerkson_2.9.1-0.5.1-SNAPSHOT.jar:/home/alex/.m2/repository/com/yammer/
metrics/metrics-scala_2.9.1/2.0.2/metrics-scala_2.9.1-2.0.2.jar:/home/
alex/.m2/repository/com/yammer/metrics/metrics-core/2.0.2/metrics-
core-2.0.2.jar:/home/alex/.m2/repository/com/yammer/metrics/metrics-
graphite/2.0.2/metrics-graphite-2.0.2.jar:/home/alex/.m2/repository/
org/apache/commons/commons-email/1.2/commons-email-1.2.jar:/home/
alex/.m2/repository/javax/mail/mail/1.4.1/mail-1.4.1.jar:/home/
alex/.m2/repository/net/htmlparser/jericho/jericho-html/3.1/jericho-
html-3.1.jar:/home/alex/.m2/repository/com/joestelmach/natty/0.5/
natty-0.5.jar:/home/alex/.m2/repository/org/antlr/antlr-runtime/3.2/
antlr-runtime-3.2.jar:/home/alex/.m2/repository/org/antlr/
stringtemplate/3.2/stringtemplate-3.2.jar:/home/alex/.m2/repository/
antlr/antlr/2.7.7/antlr-2.7.7.jar:/home/alex/.m2/repository/org/mnode/
ical4j/ical4j/1.0.2/ical4j-1.0.2.jar:/home/alex/.m2/repository/commons-
lang/commons-lang/2.6/commons-lang-2.6.jar:/home/alex/.m2/repository/
backport-util-concurrent/backport-util-concurrent/3.1/backport-util-
concurrent-3.1.jar:/home/alex/.m2/repository/postgresql/postgresql/
9.0-801.jdbc4/postgresql-9.0-801.jdbc4.jar:/home/alex/.m2/repository/
org/scalaz/scalaz-core_2.9.1/6.0.3/scalaz-core_2.9.1-6.0.3.jar:/home/
alex/.m2/repository/com/google/guava/guava/11.0.1/guava-11.0.1.jar:/
home/alex/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/
jsr305-1.3.9.jar:/home/alex/.m2/repository/log4j/apache-log4j-extras/
1.1/apache-log4j-extras-1.1.jar:/home/alex/.m2/repository/ro/isdc/
wro4j/wro4j-core/1.4.4/wro4j-core-1.4.4.jar:/home/alex/.m2/repository/
org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar:/home/
alex/.m2/repository/commons-io/commons-io/2.1/commons-io-2.1.jar:/home/
alex/.m2/repository/ro/isdc/wro4j/wro4j-extensions/1.4.4/wro4j-
extensions-1.4.4.jar:/home/alex/.m2/repository/com/google/code/gson/
gson/1.6/gson-1.6.jar:/home/alex/.m2/repository/com/google/javascript/
closure-compiler/r1741/closure-compiler-r1741.jar:/home/alex/.m2/
repository/args4j/args4j/2.0.12/args4j-2.0.12.jar:/home/alex/.m2/
repository/com/google/protobuf/protobuf-java/2.4.1/protobuf-
java-2.4.1.jar:/home/alex/.m2/repository/org/json/json/20090211/
json-20090211.jar:/home/alex/.m2/repository/org/apache/ant/ant/1.8.2/
ant-1.8.2.jar:/home/alex/.m2/repository/org/apache/ant/ant-launcher/
1.8.2/ant-launcher-1.8.2.jar:/home/alex/.m2/repository/com/googlecode/
jarjar/jarjar/1.1/jarjar-1.1.jar:/home/alex/.m2/repository/rhino/js/
1.7R2/js-1.7R2.jar:/home/alex/.m2/repository/org/dojotoolkit/dojo-
shrinksafe/1.6.1/dojo-shrinksafe-1.6.1.jar:/home/alex/.m2/repository/
org/codehaus/gmaven/runtime/gmaven-runtime-1.7/1.3/gmaven-
runtime-1.7-1.3.jar:/home/alex/.m2/repository/org/codehaus/gmaven/
feature/gmaven-feature-support/1.3/gmaven-feature-support-1.3.jar:/
home/alex/.m2/repository/org/codehaus/gmaven/feature/gmaven-feature-
api/1.3/gmaven-feature-api-1.3.jar:/home/alex/.m2/repository/org/
codehaus/gmaven/runtime/gmaven-runtime-support/1.3/gmaven-runtime-
support-1.3.jar:/home/alex/.m2/repository/org/codehaus/gmaven/runtime/
gmaven-runtime-api/1.3/gmaven-runtime-api-1.3.jar:/home/alex/.m2/
repository/org/sonatype/gshell/gshell-io/2.0/gshell-io-2.0.jar:/home/
alex/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.1/plexus-
utils-2.0.1.jar:/home/alex/.m2/repository/com/thoughtworks/qdox/qdox/
1.10/qdox-1.10.jar:/home/alex/.m2/repository/org/codehaus/groovy/
groovy-all/1.7.4/groovy-all-1.7.4.jar:/home/alex/.m2/repository/jline/
jline/0.9.94/jline-0.9.94.jar:/usr/local/eclipse/eclipse-3.6.2/plugins/
org.zeroturnaround.eclipse.embedder_4.5.4.201201061517/jrebel/
jrebel.jar
- Alex
On Feb 28, 5:45 pm, Alex Objelean <
alex.objel...@gmail.com> wrote:
> Btw,
>
> I've noticed that your classpath contains only slf4j-api but no slf4j
> implementation. Can you add one and run it in eclipse?
>
> I'm using run-jetty-run plugin, which is great for running application from
> IDE (highly recommend it).
>
> Cheers,
> Alex
>