OWASP ESAPI - JavaEncryptor can't be found / not in classpath - but ESAPI is working in other functions - maven

I already had problems with the esapi, but at the end it worked...
I included the OWASP ESAPI in my pom.xml like this
<!-- ESAPI Version 2.0.1 -->
<dependency>
<groupId>org.owasp.esapi</groupId>
<artifactId>esapi</artifactId>
<version>2.0.1</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
If i run this function:
String clean = ESAPI.encoder().canonicalize("someString");
the ESAPI encoder works perfect...
But if I try to use the HASH function,
ESAPI.encryptor().hash(password, salt);
I got this result
javax.servlet.ServletException: javax.ejb.EJBException: org.owasp.esapi.errors.ConfigurationException: java.lang.ClassNotFoundException: org.owasp.esapi.reference.JavaEncryptor from [Module "deployment.demoapp_demo.war:main" from Service Module Loader] Encryptor class (org.owasp.esapi.reference.JavaEncryptor) must be in class path.
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
but as you can see, the ESAPI is i my dependencys but JavaEncryptor can't be found....
joergi#nerdbook:~/dev/demoapp/trunk/demoapp_demo$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Java EE 6 webapp project
[INFO] task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree {execution: default-cli}]
[INFO] de.demoapp:demoapp_demo:war:1.0-SNAPSHOT
[INFO] +- javax.enterprise:cdi-api:jar:1.0-SP4:provided
[INFO] | +- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.0.Final:provided (version managed from 1.0.0.Beta1)
[INFO] | \- javax.inject:javax.inject:jar:1:provided
[INFO] +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.0.Final:provided
[INFO] +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar:1.0.0.Final:provided
[INFO] +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:provided
[INFO] +- org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar:1.0.1.Final:provided
[INFO] +- org.hibernate:hibernate-validator:jar:4.2.0.Final:provided
[INFO] | \- javax.validation:validation-api:jar:1.0.0.GA:provided
[INFO] +- org.hibernate:hibernate-jpamodelgen:jar:1.1.1.Final:provided
[INFO] +- junit:junit:jar:4.10:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.1:test
[INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.0.0.CR4:test
[INFO] | +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.0.0.CR4:test
[INFO] | +- org.jboss.arquillian.test:arquillian-test-api:jar:1.0.0.CR4:test
[INFO] | | \- org.jboss.arquillian.core:arquillian-core-api:jar:1.0.0.CR4:test
[INFO] | +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.0.0.CR4:test
[INFO] | | +- org.jboss.arquillian.core:arquillian-core-spi:jar:1.0.0.CR4:test
[INFO] | | \- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.0-beta-5:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.0.0.CR4:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.0.0.CR4:test
[INFO] | +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.0.0.CR4:test
[INFO] | +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.0.0.CR4:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.0.0.CR4:test
[INFO] | | +- org.jboss.arquillian.config:arquillian-config-api:jar:1.0.0.CR4:test
[INFO] | | \- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.0.0.CR4:test
[INFO] | | \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:1.1.0-alpha-2:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.0.0.CR4:test
[INFO] | \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.0-beta-5:test
[INFO] | \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.0-beta-5:test
[INFO] +- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.0.0.CR4:test
[INFO] | \- org.jboss.arquillian.container:arquillian-container-spi:jar:1.0.0.CR4:test
[INFO] | \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api:jar:1.1.0-alpha-2:test
[INFO] +- org.owasp.esapi:esapi:jar:2.0.1:compile
[INFO] | +- commons-configuration:commons-configuration:jar:1.5:compile
[INFO] | | +- commons-lang:commons-lang:jar:2.3:compile
[INFO] | | +- commons-logging:commons-logging:jar:1.1:compile
[INFO] | | | +- logkit:logkit:jar:1.0.1:compile
[INFO] | | | +- avalon-framework:avalon-framework:jar:4.1.3:compile
[INFO] | | | \- javax.servlet:servlet-api:jar:2.3:compile
[INFO] | | \- commons-digester:commons-digester:jar:1.8:compile
[INFO] | | \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] | +- commons-beanutils:commons-beanutils-core:jar:1.7.0:compile
[INFO] | +- commons-fileupload:commons-fileupload:jar:1.2:compile
[INFO] | +- commons-collections:commons-collections:jar:3.2:compile
[INFO] | +- xom:xom:jar:1.1:compile
[INFO] | | +- xerces:xmlParserAPIs:jar:2.6.2:compile
[INFO] | | +- xerces:xercesImpl:jar:2.6.2:compile
[INFO] | | +- xalan:xalan:jar:2.7.0:compile
[INFO] | | | \- xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] | | \- jaxen:jaxen:jar:1.1-beta-8:compile
[INFO] | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | \- jdom:jdom:jar:1.0:compile
[INFO] | +- org.beanshell:bsh-core:jar:2.0b4:compile
[INFO] | \- org.owasp.antisamy:antisamy:jar:1.4.3:compile
[INFO] | +- org.apache.xmlgraphics:batik-css:jar:1.7:compile
[INFO] | | +- org.apache.xmlgraphics:batik-ext:jar:1.7:compile
[INFO] | | +- org.apache.xmlgraphics:batik-util:jar:1.7:compile
[INFO] | | \- xml-apis:xml-apis-ext:jar:1.3.04:compile
[INFO] | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.12:compile
[INFO] | \- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] | \- commons-codec:commons-codec:jar:1.2:compile
[INFO] +- com.sun.faces:jsf-api:jar:2.1.7:compile
[INFO] \- joda-time:joda-time:jar:1.6:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Wed Mar 14 23:17:07 CET 2012
[INFO] Final Memory: 29M/342M
[INFO] ------------------------------------------------------------------------
The search-results are not really helpful...
Anyone know this problem? (or can help anyway?)
thank you!

Change
org.owasp.esapi.reference.JavaEncryptor
to
org.owasp.esapi.reference.crypto.JavaEncryptor

This is a common mistake, but codepitbull nailed the answer.
The problem is generally caused by using an earlier version of the ESAPI.properties file. At some point (during one of the later 2.0 release candidates IIRC), I reorganized some of the ESAPI crypto classes and created the org.owasp.esapi.reference.crypto package and moved the JavaEncryptor class to it. In a way, that's a good thing, because it makes using the ESAPI 2.0.x crypto to fail in a generally obvious way if one tries to use a ESAPI.properties file from ESAPI 1.4.x. If the class names were still the same between ESAPI 2.0.x and 1.4.x, attempts at encryption / decryption would still fail, but it would fail in a much more subtle manner.

Related

java.lang.annotation.AnnotationFormatError in Spring Redis integration

I have developed a library (smartconnect-commons) which has integration with redis caching using spring-data-redis. This library can be plugged-in with any application which ever wants to use redis. JUnit tests in that library are successful. No issues so far.
Now I am using above library as a dependency in a Spring boot app. When running the spring boot app, it is failed with application context initialization errors.
2017-08-17 10:38:25,118 [main] ERROR org.springframework.boot.SpringApplication - - Application startup failed
java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.springframework.data.redis.repository.configuration.EnableRedisRepositories.repositoryFactoryBeanClass()
at java.lang.reflect.Method.getDefaultValue(Method.java:612)
at sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:132)
at sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java:85)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:266)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getAnnotations(Class.java:3446)
at org.springframework.core.type.StandardAnnotationMetadata.<init>(StandardAnnotationMetadata.java:68)
at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport.getConfigurationSource(AbstractRepositoryConfigurationSourceSupport.java:65)
at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport.registerBeanDefinitions(AbstractRepositoryConfigurationSourceSupport.java:58)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:354)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:143)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:320)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:270)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:93)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151)
at com.adp.smartconnect.SmartconnectWPInitializer.main(SmartconnectWPInitializer.java:32)
Looks like there is a mis match with spring dependency versions, I spent lot of time but could not figure out that. Please see dependency tree of spring boot app.
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) # smartconnect-wage-payments-writer ---
[INFO] com.adp.smartconnect:smartconnect-wage-payments-writer:war:1.0.0-SNAPSHOT
[INFO] +- com.adp.smartconnect:smartconnect-config:jar:2.3.42:compile
[INFO] | +- org.mule.modules:mule-module-mongo:jar:5.0.999:compile
[INFO] | \- org.mongodb:mongo-java-driver:jar:3.4.2:compile
[INFO] +- com.adp.smartconnect:smartconnect-commons:jar:1.0.9-SNAPSHOT:compile
[INFO] | +- org.springframework:spring-web:jar:4.3.8.RELEASE:compile
[INFO] | +- org.springframework.data:spring-data-redis:jar:1.8.3.RELEASE:compile
[INFO] | | +- org.springframework.data:spring-data-keyvalue:jar:1.2.3.RELEASE:compile
[INFO] | | +- org.springframework:spring-oxm:jar:4.3.8.RELEASE:compile
[INFO] | | +- org.springframework:spring-context-support:jar:4.3.8.RELEASE:compile
[INFO] | | \- org.slf4j:jcl-over-slf4j:jar:1.7.25:compile
[INFO] | +- redis.clients:jedis:jar:2.9.0:compile
[INFO] | | \- org.apache.commons:commons-pool2:jar:2.4.2:compile
[INFO] | +- org.springframework:spring-core:jar:4.3.8.RELEASE:compile
[INFO] | +- org.springframework:spring-test:jar:4.3.8.RELEASE:compile
[INFO] | +- org.springframework.data:spring-data-mongodb:jar:1.10.3.RELEASE:compile
[INFO] | | +- org.springframework:spring-expression:jar:4.3.8.RELEASE:compile
[INFO] | | \- org.springframework.data:spring-data-commons:jar:1.13.3.RELEASE:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.8.8:compile
[INFO] | +- org.json:json:jar:20140107:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.8:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:compile
[INFO] | +- com.adp.avs.domain:cdm:jar:1.0.9:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-jsonSchema:jar:2.8.8:compile
[INFO] | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] +- com.adp.smartconnect:avs-prod-payload:jar:2.3.3:compile
[INFO] | +- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[INFO] | +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | +- io.swagger:swagger-annotations:jar:1.5.3:compile
[INFO] | +- org.projectlombok:lombok:jar:1.16.16:compile
[INFO] | +- com.adp.smartconnect:smartconnect-mongo-cdm-library-cdm-0.9:jar:1.0.90:compile
[INFO] | | +- org.apache.commons:commons-collections4:jar:4.1:compile
[INFO] | | \- org.mule.modules:smartconnect-tracking-service-connector-cdm-0.9:jar:1.0.90:compile
[INFO] | | \- org.mule.tools.devkit:mule-devkit-shade:jar:3.8.0:compile
[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.7:compile
[INFO] | +- org.apache.logging.log4j:log4j-core:jar:2.7:compile
[INFO] | \- ch.qos.logback:logback-classic:jar:1.1.11:compile
[INFO] | \- ch.qos.logback:logback-core:jar:1.1.11:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:1.5.3.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:1.5.3.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot:jar:1.5.3.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:1.5.3.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:1.5.3.RELEASE:compile
[INFO] | | | +- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[INFO] | | | \- org.slf4j:log4j-over-slf4j:jar:1.7.25:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.17:runtime
[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:1.5.3.RELEASE:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.14:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.14:compile
[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.14:compile
[INFO] | +- org.hibernate:hibernate-validator:jar:5.3.5.Final:compile
[INFO] | | +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.1.Final:compile
[INFO] | | \- com.fasterxml:classmate:jar:1.3.3:compile
[INFO] | \- org.springframework:spring-webmvc:jar:4.3.8.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:1.5.3.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:1.5.3.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:1.5.3.RELEASE:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.2.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.2.1:test
[INFO] | | \- net.minidev:accessors-smart:jar:1.1:test
[INFO] | | \- org.ow2.asm:asm:jar:5.0.3:test
[INFO] | +- org.assertj:assertj-core:jar:2.6.0:test
[INFO] | +- org.mockito:mockito-core:jar:1.10.19:test
[INFO] | | \- org.objenesis:objenesis:jar:2.1:test
[INFO] | +- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] | +- org.hamcrest:hamcrest-library:jar:1.3:test
[INFO] | \- org.skyscreamer:jsonassert:jar:1.4.0:test
[INFO] | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[INFO] +- com.typesafe.akka:akka-actor_2.11:jar:2.5.0:compile
[INFO] | +- org.scala-lang:scala-library:jar:2.11.8:compile
[INFO] | +- com.typesafe:config:jar:1.3.1:compile
[INFO] | \- org.scala-lang.modules:scala-java8-compat_2.11:jar:0.7.0:compile
[INFO] +- com.typesafe.akka:akka-remote_2.11:jar:2.5.0:compile
[INFO] | +- com.typesafe.akka:akka-stream_2.11:jar:2.5.0:compile
[INFO] | | +- org.reactivestreams:reactive-streams:jar:1.0.0:compile
[INFO] | | \- com.typesafe:ssl-config-core_2.11:jar:0.2.1:compile
[INFO] | | \- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.0.4:compile
[INFO] | +- com.typesafe.akka:akka-protobuf_2.11:jar:2.5.0:compile
[INFO] | +- io.netty:netty:jar:3.10.6.Final:compile
[INFO] | +- io.aeron:aeron-driver:jar:1.2.3:compile
[INFO] | \- io.aeron:aeron-client:jar:1.2.3:compile
[INFO] | \- org.agrona:agrona:jar:0.9.3:compile
[INFO] +- com.typesafe.akka:akka-cluster_2.11:jar:2.5.0:compile
[INFO] +- com.typesafe.akka:akka-testkit_2.11:jar:2.5.0:compile
[INFO] +- com.typesafe.akka:akka-slf4j_2.11:jar:2.5.0:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] +- javax.jms:javax.jms-api:jar:2.0:compile
[INFO] +- com.ibm.mq:mqallclient:jar:8.0:compile
[INFO] +- org.springframework:spring-jms:jar:4.3.0.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:4.3.8.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:4.3.8.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:4.3.8.RELEASE:compile
[INFO] | +- org.springframework:spring-messaging:jar:4.3.8.RELEASE:compile
[INFO] | \- org.springframework:spring-tx:jar:4.3.8.RELEASE:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.0:compile
[INFO] +- commons-io:commons-io:jar:2.5:compile
[INFO] +- commons-configuration:commons-configuration:jar:1.6:compile
[INFO] | +- commons-lang:commons-lang:jar:2.4:compile
[INFO] | +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] | \- commons-digester:commons-digester:jar:2.1:compile
[INFO] | \- commons-beanutils:commons-beanutils:jar:1.9.3:compile
[INFO] +- org.mockito:mockito-all:jar:1.10.19:test
[INFO] +- org.powermock:powermock-api-mockito:jar:1.7.0:test
[INFO] | \- org.powermock:powermock-api-mockito-common:jar:1.7.0:test
[INFO] | \- org.powermock:powermock-api-support:jar:1.7.0:test
[INFO] +- org.powermock:powermock-module-junit4:jar:1.7.0:test
[INFO] | \- org.powermock:powermock-module-junit4-common:jar:1.7.0:test
[INFO] | +- org.powermock:powermock-reflect:jar:1.7.0:test
[INFO] | \- org.powermock:powermock-core:jar:1.7.0:test
[INFO] | \- org.javassist:javassist:jar:3.21.0-GA:test
[INFO] \- junit:junit:jar:4.12:test
I observed that spring-data-redis module is not working with spring boot 1.5.3 version. So when I upgraded spring boot version to 1.5.6, issue is resolved.
I had the same problem.
[ERROR] [org.springframework.boot.SpringApplication:771] Application startup failed
java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.springframework.data.redis.repository.configuration.EnableRedisRepositories.repositoryFactoryBeanClass()
That is because I pull some new code from git, which including code about redis, need the spring-boot-starter-data-redis library.
As the problems given by IDEA, I press alt+enter to auto import this library.
So the problem comes.
I finally click "In IDEA menu File -->Project Structure->Project Settings-->Libraries"
I found the version here is not the same version in build.gradle.
I guess this version maybe mismatch the other libraries of spring boot.
So I remove this library and try to run gradle command to build the project.
I solved the problem in this way.

How to avoid multiple SLF4J bindings?

Collegues, when i run any test i receive the next stack trace:
SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found
binding in
[jar:file:/C:/Users/someuser/.m2/repository/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in
[jar:file:/C:/Users/someuser/.m2/repository/ch/qos/logback/logback-classic/1.1.9/logback-classic-1.1.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
My dependency tree looks like:
C:\Users\someuser\Documents\GIT\same-integration\same-ftp>mvn dependency:tree
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building same :: FTP 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) # same-ftp ---
[INFO] com.ac.same:same-ftp:jar:1.0-SNAPSHOT
[INFO] +- org.springframework:spring-context:jar:4.3.5.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:4.3.5.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:4.3.5.RELEASE:compile
[INFO] | +- org.springframework:spring-core:jar:4.3.5.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-tx:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-test:jar:4.3.5.RELEASE:test
[INFO] +- org.springframework:spring-orm:jar:4.3.5.RELEASE:compile
[INFO] | \- org.springframework:spring-jdbc:jar:4.3.5.RELEASE:compile
[INFO] +- org.hibernate:hibernate-core:jar:5.2.6.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
[INFO] | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Fin
[INFO] | +- org.javassist:javassist:jar:3.20.0-GA:compile
[INFO] | +- antlr:antlr:jar:2.7.7:compile
[INFO] | +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
[INFO] | +- org.jboss:jandex:jar:2.0.3.Final:compile
[INFO] | +- com.fasterxml:classmate:jar:1.3.0:compile
[INFO] | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | +- org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:
[INFO] | \- javax.enterprise:cdi-api:jar:1.1:compile
[INFO] | +- javax.el:el-api:jar:2.2:compile
[INFO] | +- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec
[INFO] | +- javax.annotation:jsr250-api:jar:1.0:compile
[INFO] | \- javax.inject:javax.inject:jar:1:compile
[INFO] +- ch.qos.logback:logback-classic:jar:1.1.9:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.22:compile
[INFO] +- ch.qos.logback:logback-core:jar:1.1.9:compile
[INFO] +- me.moocar:logback-gelf:jar:0.3:compile
[INFO] | +- com.google.code.gson:gson:jar:2.3.1:compile
[INFO] | \- me.moocar:socket-encoder-appender:jar:0.1beta1:compile
[INFO] +- org.slf4j:jul-to-slf4j:jar:1.7.22:compile
[INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.22:compile
[INFO] +- com.typesafe:config:jar:1.3.0:compile
[INFO] +- commons-io:commons-io:jar:2.2:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.5:compile
[INFO] +- org.apache.camel:camel-core:jar:2.18.1:compile
[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.2.11:compile
[INFO] | \- com.sun.xml.bind:jaxb-impl:jar:2.2.11:compile
[INFO] +- org.apache.camel:camel-ftp:jar:2.18.1:compile
[INFO] | \- commons-net:commons-net:jar:3.3:compile
[INFO] +- org.apache.camel:camel-spring:jar:2.18.1:compile
[INFO] +- org.apache.camel:camel-quartz2:jar:2.18.1:compile
[INFO] | +- org.quartz-scheduler:quartz:jar:2.2.3:compile
[INFO] | \- com.mchange:c3p0:jar:0.9.5.2:compile
[INFO] | \- com.mchange:mchange-commons-java:jar:0.2.11:compile
[INFO] +- org.apache.camel:camel-jdbc:jar:2.18.1:compile
[INFO] +- com.jcraft:jsch:jar:0.1.42:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- pl.touk:tsc-reload:jar:0.3.0:compile
[INFO] | \- com.javaslang:javaslang:jar:2.0.0-RC3:compile
[INFO] +- commons-collections:commons-collections:jar:3.0:compile
[INFO] +- org.apache.maven.plugins:maven-shade-plugin:jar:2.4.3:compile
[INFO] | +- org.apache.maven:maven-plugin-api:jar:3.0:compile
[INFO] | | \- org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[INFO] | | \- org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[INFO] | | \- org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[INFO] | +- org.apache.maven:maven-model:jar:3.0:compile
[INFO] | +- org.apache.maven:maven-core:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-settings:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-settings-builder:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-repository-metadata:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-model-builder:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-aether-provider:jar:3.0:runtime
[INFO] | | +- org.sonatype.aether:aether-impl:jar:1.7:compile
[INFO] | | | \- org.sonatype.aether:aether-spi:jar:1.7:compile
[INFO] | | +- org.sonatype.aether:aether-api:jar:1.7:compile
[INFO] | | +- org.sonatype.aether:aether-util:jar:1.7:compile
[INFO] | | +- org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[INFO] | | +- org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[INFO] | | +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compi
[INFO] | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] | +- org.apache.maven:maven-compat:jar:3.0:compile
[INFO] | | \- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
[INFO] | +- org.apache.maven:maven-artifact:jar:3.0:compile
[INFO] | +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
[INFO] | +- org.ow2.asm:asm:jar:5.0.2:compile
[INFO] | +- org.ow2.asm:asm-commons:jar:5.0.2:compile
[INFO] | | \- org.ow2.asm:asm-tree:jar:5.0.2:compile
[INFO] | +- org.jdom:jdom:jar:1.1:compile
[INFO] | +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
[INFO] | | \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[INFO] | +- org.vafer:jdependency:jar:1.1:compile
[INFO] | | +- org.ow2.asm:asm-analysis:jar:5.0.4:compile
[INFO] | | \- org.ow2.asm:asm-util:jar:5.0.4:compile
[INFO] | \- com.google.guava:guava:jar:11.0.2:compile
[INFO] | \- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] +- org.springframework:spring-context-support:jar:4.2.4.RELEASE:compile
[INFO] +- org.thymeleaf:thymeleaf:jar:3.0.2.RELEASE:compile
[INFO] | +- ognl:ognl:jar:3.1.10:compile
[INFO] | +- org.attoparser:attoparser:jar:2.0.1.RELEASE:compile
[INFO] | \- org.unbescape:unbescape:jar:1.1.4.RELEASE:compile
[INFO] +- org.thymeleaf:thymeleaf-spring4:jar:3.0.2.RELEASE:compile
[INFO] +- javax.mail:mail:jar:1.4.7:compile
[INFO] | \- javax.activation:activation:jar:1.1:compile
[INFO] +- org.apache.commons:commons-dbcp2:jar:2.1.1:compile
[INFO] | \- org.apache.commons:commons-pool2:jar:2.4.2:compile
[INFO] \- com.microsoft.sqlserver:sqljdbc4:jar:4.2:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.583 s
[INFO] Finished at: 2017-02-15T13:42:27+03:00
[INFO] Final Memory: 20M/236M
[INFO] ------------------------------------------------------------------------
I'am trying to add any exclusions but it doesn't help.
May you tell me how to fix the ptroblem?
Assuming you want to use logback-classic, you need to exclude the others :
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.6.Final</version>
<exclusions>
<exclusion>
<groupId>me.moocar:logback-gelf</groupId>
<artifactId>me.moocar:logback-gelf</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jul-over-slf4j</artifactId>
</exclusion>
<exclusion>
<groupId>me.moocar:logback-gelf</groupId>
<artifactId>me.moocar:logback-gelf</artifactId>
</exclusion>
</exclusions>
</dependency>

Version Incompatibility between Spring batch and cloudera hadoop

I was trying the spring batch word count program and faced a version issue like this :
ERROR [org.springframework.batch.core.step.AbstractStep] - <Encountered an error executing the step>
java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected
I use Cloudera Hadoop2 cdh4.5.0 and Spring hadoop version 1.0.1.RELEASE. I cant identify the exact problem as Spring batch is compatible with hadoop cdh4.
My dependency tree is as shown below.
[INFO] org.springframework.data:batch-wordcount:jar:0.0.1
[INFO] +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
[INFO] | \- org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-core:jar:3.0.5.RELEASE:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- org.springframework:spring-tx:jar:3.0.5.RELEASE:compile
[INFO] | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] +- org.springframework.batch:spring-batch-core:jar:2.2.0.RELEASE:compile
[INFO] | +- com.thoughtworks.xstream:xstream:jar:1.3:compile
[INFO] | | \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] | +- org.codehaus.jettison:jettison:jar:1.1:compile
[INFO] +- org.springframework.batch:spring-batch-infrastructure:jar:2.2.0.RELEASE:compile
[INFO] | \- org.springframework.retry:spring-retry:jar:1.0.2.RELEASE:compile
[INFO] +- org.springframework.batch:spring-batch-test:jar:2.2.0.RELEASE:compile
[INFO] | +- (junit:junit:jar:4.10:compile - omitted for conflict with 4.11)
[INFO] | +- (org.springframework:spring-test:jar:3.2.0.RELEASE:compile - omitted for conflict with 3.0.5.RELEASE)
[INFO] | +- commons-io:commons-io:jar:1.4:compile
[INFO] | +- commons-dbcp:commons-dbcp:jar:1.2.2:compile
[INFO] | | \- commons-pool:commons-pool:jar:1.3:compile
[INFO] | \- commons-collections:commons-collections:jar:3.2:compile
[INFO] +- junit:junit:jar:4.11:test (scope not updated to compile)
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.springframework.data:spring-data-hadoop:jar:1.0.2.RELEASE:compile
[INFO] +- org.apache.hadoop:hadoop-common:jar:2.0.0-cdh4.5.0:compile
[INFO] | +- org.apache.hadoop:hadoop-annotations:jar:2.0.0-cdh4.5.0:compile
[INFO] | | \- jdk.tools:jdk.tools:jar:1.6:system
[INFO] | +- com.google.guava:guava:jar:11.0.2:compile
[INFO] | +- commons-net:commons-net:jar:3.1:compile
[INFO] | +- javax.servlet:servlet-api:jar:2.5:compile
[INFO] | +- org.mortbay.jetty:jetty:jar:6.1.26.cloudera.2:compile
[INFO] | +- org.mortbay.jetty:jetty-util:jar:6.1.26.cloudera.2:compile
[INFO] | +- com.sun.jersey:jersey-core:jar:1.8:compile
[INFO] | +- com.sun.jersey:jersey-json:jar:1.8:compile
[INFO] | | +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
[INFO] | | | \- javax.xml.bind:jaxb-api:jar:2.2.2:compile
[INFO] | | | \- javax.activation:activation:jar:1.1:compile
[INFO] | | \- (com.sun.jersey:jersey-core:jar:1.8:compile - omitted for duplicate)
[INFO] | +- log4j:log4j:jar:1.2.17:compile
[INFO] | +- org.apache.hadoop:cloudera-jets3t:jar:2.0.0-cdh4.5.0:compile
[INFO] | | \- (net.java.dev.jets3t:jets3t:jar:0.9.0:compile - omitted for conflict with 0.6.1)
[INFO] | +- net.java.dev.jets3t:jets3t:jar:0.6.1:compile
[INFO] | | +- (commons-codec:commons-codec:jar:1.3:compile - omitted for conflict with 1.4)
[INFO] | | +- (commons-logging:commons-logging:jar:1.1.1:compile - omitted for duplicate)
[INFO] | | \- (commons-httpclient:commons-httpclient:jar:3.1:compile - omitted for duplicate)
[INFO] | +- (junit:junit:jar:4.8.2:compile - omitted for conflict with 4.11)
[INFO] | +- commons-lang:commons-lang:jar:2.5:compile
[INFO] | +- commons-configuration:commons-configuration:jar:1.6:compile
[INFO] | | +- commons-digester:commons-digester:jar:1.8:compile
[INFO] | | | +- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] | +- org.slf4j:slf4j-log4j12:jar:1.6.1:runtime
[INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.8.8:compile
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:compile
[INFO] | +- net.sf.kosmosfs:kfs:jar:0.3:compile
[INFO] | +- com.google.protobuf:protobuf-java:jar:2.4.0a:compile
[INFO] | +- org.apache.hadoop:hadoop-auth:jar:2.0.0-cdh4.5.0:compile
[INFO] | +- com.jcraft:jsch:jar:0.1.42:compile
[INFO] | \- org.apache.zookeeper:zookeeper:jar:3.4.5-cdh4.5.0:compile
[INFO] | \- jline:jline:jar:0.9.94:compile
[INFO] +- org.apache.hadoop:hadoop-hdfs:jar:2.0.0-cdh4.5.0:compile
[INFO] | +- tomcat:jasper-runtime:jar:5.5.23:compile
[INFO] | | \- commons-el:commons-el:jar:1.0:compile
[INFO] +- org.apache.hadoop:hadoop-tools:jar:2.0.0-mr1-cdh4.5.0:compile
[INFO] | +- com.cloudera.cdh:hadoop-ant:pom:2.0.0-mr1-cdh4.5.0:compile
[INFO] | \- org.apache.hadoop:hadoop-core:jar:2.0.0-mr1-cdh4.5.0:compile
[INFO] | +- hsqldb:hsqldb:jar:1.8.0.10:compile
[INFO] | +- org.eclipse.jdt:core:jar:3.1.1:compile
[INFO] +- org.hamcrest:hamcrest-all:jar:1.1:compile
[INFO] +- org.apache.hadoop:hadoop-client:jar:2.0.0-mr1-cdh4.5.0:compile
[INFO] +- org.apache.hadoop:hadoop-streaming:jar:2.0.0-mr1-cdh4.5.0:compile
[INFO] \- org.springframework:spring-test:jar:3.0.5.RELEASE:compile
Also, Does ommited for duplicate dependencies cause any error ?
You should use the 1.0.2.RELEASE-cdh4 version with Cloudera CDH4 - these distro specific releases are available in the Spring repository:
<repository>
<id>spring-releases</id>
<name>Spring Release Repository</name>
<url>http://repo.spring.io/libs-release</url>
</repository>
More info here: https://github.com/spring-projects/spring-hadoop/wiki/Build-with-Cloudera-CDH4

Bad version number in .class file

I am trying to deploy a webapp in my local Jetty with Maven.
My Java -version in command line is
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
In Eclipse, my project's JDK Compliance is set to 'Use Compliance from execution Environment J2SE-1.5 on the Build path', which is JDK1.5.0_22 as well.
No matter where I try to run it from, either command line with mvn jetty:run or Eclipse configuring a VM like this
I get the same errors.
Listening for transport dt_socket at address: 4000
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.ow2.frascati.examples:frascati-gae:war:1.5-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.sun.xml.bind:jaxb-impl:jar -> version 2.1.13 vs 2.1.12 # line 103, column 17
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. # org.ow2.frascati.examples:parent:1.5-SNAPSHOT, C:\WorkSpace\FrascatiTrunk\examples\pom.xml, line 93, column 15
[WARNING] 'build.plugins.plugin.version' for com.google.code.maven-replacer-plugin:maven-replacer-plugin is missing. # org.ow2.frascati.examples:frascati-in-the-cloud:1.5-SNAPSHOT, C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\pom.xml, line 462, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OW2 FraSCAti in Google App Engine 1.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-jetty-plugin:6.1.26:run (default-cli) # frascati-gae >>>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) # frascati-gae ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # frascati-gae ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) # frascati-gae ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # frascati-gae ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< maven-jetty-plugin:6.1.26:run (default-cli) # frascati-gae <<<
[INFO]
[INFO] --- maven-jetty-plugin:6.1.26:run (default-cli) # frascati-gae ---
[INFO] Configuring Jetty for project: OW2 FraSCAti in Google App Engine
[INFO] Webapp source directory = C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\classes
2012-10-04 10:25:26.688:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
[INFO] Context path = /frascati-gae
[INFO] Tmp directory = determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\webapp\WEB-INF\web.xml
[INFO] Webapp directory = C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\webapp
[INFO] Starting jetty 6.1.26 ...
2012-10-04 10:25:26.770:INFO::jetty-6.1.26
2012-10-04 10:25:27.070:WARN::Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext#f553e3{/frascati-gae,C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\webapp}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.mortbay.jetty.plugin.Jetty6MavenConfiguration.parseAnnotations(Jetty6MavenConfiguration.java:142)
.
.
.
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
.
.
.
[INFO] Started Jetty Server
2012-10-04 10:25:27.156:INFO::Started SelectChannelConnector#0.0.0.0:8080
[INFO] Starting scanner at interval of 10 seconds.
I am confused with the
java.lang.UnsupportedClassVersionError: Bad version number in .class file
since I've been getting this ever since I changed to J2SE-1.5, because the project requirements specified so.
I even deleted my whole m2repo and had Maven redownloading it all.
I am a bit lost with this mix of errors. Can anyone throw any light on this?
EDIT:
If I change my Java version to JDK-1.6 it works "fine" (different unrelated errors).
But why? Shouldn't it work if the project requirements are Java 1.5?
Besides, Shouldn't all the repositories that Maven downloaded be compatible with 1.5 since that's what they where compiled with before deploying?
EDIT 2: (regarding #Kal's comment)
My project is a subproject example of a main Trunk. To compile it I run Maven on the POM of my example project which depends on previous POMs. In its parent POM, in the examples directory, there is:
<!-- Compile with Java 1.5 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
EDIT 3:
Here is my dependency.tree:
[INFO] org.ow2.frascati.examples:frascati-gae:war:1.5-SNAPSHOT
[INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.1.12:runtime (scope not updated to co
mpile)
[INFO] +- org.ow2.frascati.examples:fibonacci:jar:1.5-SNAPSHOT:compile
[INFO] | +- org.ow2.frascati:frascati-binding-rest:jar:1.5-SNAPSHOT:compile
[INFO] | | +- org.ow2.frascati:frascati-metamodel-frascati:jar:1.5-SNAPSHOT:co
mpile
[INFO] | | | \- org.ow2.frascati.model:frascati-model:jar:2.0.1.3:compile
[INFO] | | | \- org.ow2.frascati.model:sca-model:jar:2.0.1.3:compile
[INFO] | | | +- org.eclipse.emf:ecore:jar:2.4.0:compile
[INFO] | | | | \- org.eclipse.core:runtime:jar:3.4.0:compile
[INFO] | | | | \- org.eclipse.equinox:common:jar:3.4.0:compile
[INFO] | | | +- org.eclipse.emf.ecore:xmi:jar:2.4.0:compile
[INFO] | | | \- org.eclipse.emf:common:jar:2.4.0:compile
[INFO] | | +- org.ow2.frascati:frascati-binding-factory:jar:1.5-SNAPSHOT:compi
le
[INFO] | | | +- org.ow2.fractal.bf.connectors:fractal-bf-connectors-common:ja
r:0.10-SNAPSHOT:compile
[INFO] | | | | \- org.ow2.fractal.bf:fractal-bf-core:jar:0.10-SNAPSHOT:compi
le
[INFO] | | | +- org.objectweb.fractal.fractaladl:fractal-adl:jar:2.3.1:compil
e
[INFO] | | | | +- org.objectweb.fractal.fractaladl:ast-core:jar:2.3.1:compil
e
[INFO] | | | | | \- dtdparser:dtdparser:jar:1.21:compile
[INFO] | | | | +- org.objectweb.fractal.fractaladl:task-framework:jar:2.3.1:
compile
[INFO] | | | | \- org.objectweb.fractal.fractaladl:task-deployment:jar:2.3.1
:compile
[INFO] | | | \- org.objectweb.fractal:fractal-util:jar:1.1.2:compile
[INFO] | | \- org.ow2.fractal.bf.connectors:fractal-bf-connectors-rest-cxf:jar
:0.10-SNAPSHOT:compile
[INFO] | | +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] | | \- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.5.4:compile
[INFO] | | +- org.apache.cxf:cxf-rt-bindings-xml:jar:2.5.4:compile
[INFO] | | \- org.codehaus.jettison:jettison:jar:1.3.1:compile
[INFO] | \- org.ow2.frascati:frascati-binding-ws:jar:1.5-SNAPSHOT:compile
[INFO] | \- org.ow2.fractal.bf.connectors:fractal-bf-connectors-soap-cxf:jar
:0.10-SNAPSHOT:compile
[INFO] | +- org.apache.cxf:cxf-rt-frontend-simple:jar:2.5.4:compile
[INFO] | | \- org.apache.cxf:cxf-rt-bindings-soap:jar:2.5.4:compile
[INFO] | | \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.5.4:compil
e
[INFO] | +- org.apache.cxf:cxf-rt-databinding-aegis:jar:2.5.4:compile
[INFO] | +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.5.4:compile
[INFO] | | \- org.apache.cxf:cxf-rt-ws-addr:jar:2.5.4:compile
[INFO] | \- wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] +- org.ow2.frascati.examples:isbntest:jar:1.5-SNAPSHOT:compile
[INFO] | \- org.ow2.frascati:frascati-interface-wsdl:jar:1.5-SNAPSHOT:compile
[INFO] | \- org.jvnet.jaxb2_commons:jaxb2-basics:jar:0.5.0:compile
[INFO] | +- org.jvnet.jaxb2_commons:jaxb2-basics-runtime:jar:0.5.0:compil
e
[INFO] | \- org.jvnet.jaxb2_commons:jaxb2-basics-tools:jar:0.5.0:compile
[INFO] +- org.ow2.frascati.examples:ohloh-proxy-standalone:jar:1.5-SNAPSHOT:comp
ile
[INFO] +- org.ow2.frascati.examples:verifymail:jar:1.5-SNAPSHOT:compile
[INFO] +- org.ow2.frascati.examples:weather:jar:1.5-SNAPSHOT:compile
[INFO] +- org.ow2.frascati.examples:weather-mock:jar:1.5-SNAPSHOT:compile
[INFO] +- org.ow2.frascati:frascati-servlet-cxf:jar:1.5-SNAPSHOT:compile
[INFO] | +- org.ow2.frascati:frascati-assembly-factory:jar:1.5-SNAPSHOT:compile
[INFO] | | +- org.ow2.frascati:frascati-sca-parser:jar:1.5-SNAPSHOT:compile
[INFO] | | | +- org.ow2.frascati:frascati-util:jar:1.5-SNAPSHOT:compile
[INFO] | | | +- org.ow2.frascati.tinfi:frascati-tinfi-membranes-oo:jar:1.4.4:
compile
[INFO] | | | | \- org.ow2.frascati.tinfi:frascati-tinfi-runtime:jar:1.4.4:co
mpile
[INFO] | | | | +- org.objectweb.fractal.juliac:juliac-runtime:jar:2.4:com
pile
[INFO] | | | | +- org.ow2.frascati.tinfi:frascati-tinfi-runtime-api:jar:1
.4.4:compile
[INFO] | | | | +- org.oasis-open.sca.j:sca-caa-apis:jar:1.1-CD04:compile
[INFO] | | | | +- org.eclipse.stp.sca.osoa.java:osoa-java-api:jar:2.0.1.2
:compile
[INFO] | | | | \- org.objectweb.fractal.fraclet.java:fraclet-annotations:
jar:3.3:compile
[INFO] | | | \- org.ow2.frascati.model:sca-model-introspection:jar:2.0.1.3:co
mpile
[INFO] | | \- org.ow2.frascati:frascati-component-factory-tinfi-oo:jar:1.5-SNA
PSHOT:compile
[INFO] | | \- org.ow2.frascati:frascati-component-factory:jar:1.5-SNAPSHOT:
compile
[INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:2.5.4:compile
[INFO] | | +- org.apache.cxf:cxf-api:jar:2.4.2:compile
[INFO] | | | +- org.apache.ws.xmlschema:xmlschema-core:jar:2.0:compile
[INFO] | | | \- org.apache.neethi:neethi:jar:3.0.2:compile
[INFO] | | +- org.apache.cxf:cxf-rt-transports-common:jar:2.5.4:compile
[INFO] | | \- org.apache.cxf:cxf-rt-core:jar:2.4.2:compile
[INFO] | \- org.apache.cxf:cxf-rt-transports-http-jetty:jar:2.5.4:compile
[INFO] | +- org.eclipse.jetty:jetty-server:jar:7.4.5.v20110725:compile
[INFO] | \- org.apache.geronimo.specs:geronimo-servlet_2.5_spec:jar:1.1.2:co
mpile
[INFO] +- org.ow2.frascati:frascati-web-explorer:jar:1.5-SNAPSHOT:compile
[INFO] | +- org.ow2.frascati:frascati-binding-http:jar:1.5-SNAPSHOT:compile
[INFO] | | \- org.ow2.frascati:frascati-metamodel-tuscany:jar:1.5-SNAPSHOT:com
pile
[INFO] | | \- org.ow2.frascati.model:tuscany-model:jar:2.0.1.3:compile
[INFO] | +- com.sun.jersey:jersey-client:jar:1.8:compile
[INFO] | | \- com.sun.jersey:jersey-core:jar:1.8:compile
[INFO] | +- org.ow2.frascati:frascati-web-explorer-bootstrap:jar:1.5-SNAPSHOT:c
ompile
[INFO] | | +- org.ow2.frascati:frascati-implementation-velocity:jar:1.5-SNAPSH
OT:compile
[INFO] | | | \- org.ow2.frascati:frascati-metamodel-web:jar:1.5-SNAPSHOT:comp
ile
[INFO] | | +- org.ow2.frascati:frascati-implementation-fractal:jar:1.5-SNAPSHO
T:compile
[INFO] | | | +- org.objectweb.fractal.julia:julia-asm:jar:2.5.2:compile
[INFO] | | | | \- asm:asm:jar:3.1:compile
[INFO] | | | \- org.objectweb.fractal.julia:julia-mixins:jar:2.5.2:compile
[INFO] | | \- org.ow2.frascati:frascati-component-factory-julia:jar:1.5-SNAPSH
OT:compile
[INFO] | | \- org.objectweb.fractal.julia:julia-runtime:jar:2.5.2:compile
[INFO] | +- org.ow2.frascati:frascati-introspection-impl:jar:1.5-SNAPSHOT:compi
le
[INFO] | | +- org.ow2.frascati:frascati-bootstrap-jdt-rest:jar:1.5-SNAPSHOT:co
mpile
[INFO] | | +- org.ow2.frascati:frascati-binding-jsonrpc:jar:1.5-SNAPSHOT:compi
le
[INFO] | | | \- org.ow2.fractal.bf.connectors:fractal-bf-connectors-json-rpc:
jar:0.10-SNAPSHOT:compile
[INFO] | | +- org.ow2.frascati.upnp:frascati-binding-upnp:jar:1.5-SNAPSHOT:com
pile
[INFO] | | | +- org.ow2.frascati.upnp:frascati-metamodel-upnp:jar:1.5-SNAPSHO
T:compile
[INFO] | | | +- org.ow2.fractal.bf.connectors:fractal-bf-connectors-upnp:jar:
0.10-SNAPSHOT:compile
[INFO] | | | | +- org.ow2.fractal.bf.binjiu.runtime:controlpoint:jar:0.2-SNA
PSHOT:compile
[INFO] | | | | | +- org.ow2.fractal.bf.binjiu.description:model:jar:0.2-SNA
PSHOT:compile
[INFO] | | | | | \- org.cybergarage.cyberlink:upnp-stack:jar:1.7.0:compile
[INFO] | | | | | \- net.sf.kxml:kxml2:jar:2.1.8:compile
[INFO] | | | | +- org.ow2.fractal.bf.binjiu.runtime:device:jar:0.2-SNAPSHOT:
compile
[INFO] | | | | | \- org.ow2.fractal.bf.binjiu.description:upnp2java:jar:0.2
-SNAPSHOT:compile
[INFO] | | | | \- org.ow2.fractal.bf.binjiu.description:java2upnp:jar:0.2-SN
APSHOT:compile
[INFO] | | | \- xerces:xercesImpl:jar:2.9.1:compile
[INFO] | | | \- xml-apis:xml-apis:jar:1.3.04:compile
[INFO] | | +- org.ow2.frascati.gcs:frascati-binding-jgroups:jar:1.5-SNAPSHOT:c
ompile
[INFO] | | | +- org.ow2.frascati.gcs:frascati-metamodel-gcs:jar:1.5-SNAPSHOT:
compile
[INFO] | | | \- org.jgroups:jgroups:jar:2.12.1.Final:compile
[INFO] | | +- org.ow2.frascati:frascati-binding-jms:jar:1.5-SNAPSHOT:compile
[INFO] | | | +- org.ow2.frascati:frascati-util-xml:jar:1.5-SNAPSHOT:compile
[INFO] | | | | \- org.jdom:jdom:jar:1.1:compile
[INFO] | | | +- org.objectweb.joram:joram-client-jms:jar:5.5.0:compile
[INFO] | | | | +- org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1:
compile
[INFO] | | | | +- org.objectweb.joram:joram-shared:jar:5.5.0:compile
[INFO] | | | | | \- org.objectweb.joram:jcup:jar:5.3.1:compile
[INFO] | | | | \- soap:soap:jar:2.3:compile
[INFO] | | | +- org.objectweb.joram:jndi-client:jar:5.5.0:compile
[INFO] | | | | \- org.objectweb.joram:jndi-shared:jar:5.5.0:compile
[INFO] | | | | \- org.objectweb.joram:a3-common:jar:5.5.0:compile
[INFO] | | | | +- org.ow2.jonas.osgi:monolog:jar:5.1.1:compile
[INFO] | | | | \- org.osgi:org.osgi:jar:3.0.0:compile
[INFO] | | | +- org.objectweb.joram:jndi-server:jar:5.5.0:compile
[INFO] | | | | \- org.objectweb.joram:a3-rt:jar:5.5.0:compile
[INFO] | | | | +- commons-dbcp:commons-dbcp:jar:1.2.2:compile
[INFO] | | | | | \- commons-pool:commons-pool:jar:1.3:compile
[INFO] | | | | \- mysql:mysql-connector-java:jar:5.1.6:compile
[INFO] | | | \- org.objectweb.joram:joram-mom-core:jar:5.5.0:compile
[INFO] | | +- org.ow2.frascati.native:frascati-binding-jna:jar:1.5-SNAPSHOT:co
mpile
[INFO] | | | +- org.ow2.frascati.native:frascati-metamodel-native:jar:1.5-SNA
PSHOT:compile
[INFO] | | | \- net.java.dev.jna:jna:jar:3.2.5:compile
[INFO] | | +- org.ow2.frascati:frascati-binding-rmi:jar:1.5-SNAPSHOT:compile
[INFO] | | | \- org.ow2.fractal.bf.connectors:fractal-bf-connectors-rmi:jar:0
.10-SNAPSHOT:compile
[INFO] | | +- org.ow2.frascati:frascati-introspection-api:jar:1.5-SNAPSHOT:com
pile
[INFO] | | | +- org.ow2.frascati.model:osoa-java-api:jar:2.0.1.3:compile
[INFO] | | | \- org.objectweb.fractal:fractal-api:jar:2.0.2:compile
[INFO] | | \- org.apache.cxf:cxf-common-utilities:jar:2.4.2:compile
[INFO] | | \- org.codehaus.woodstox:woodstox-core-asl:jar:4.1.2:runtime
[INFO] | | \- org.codehaus.woodstox:stax2-api:jar:3.1.1:runtime
[INFO] | +- commons-fileupload:commons-fileupload:jar:1.2.1:compile
[INFO] | \- commons-io:commons-io:jar:1.3:compile
[INFO] +- org.apache.velocity:velocity:jar:1.7:compile
[INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | \- commons-lang:commons-lang:jar:2.4:compile
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided (scope not updated to compi
le)
[INFO] +- org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided (scope not upd
ated to compile)
[INFO] +- org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0:provided
[INFO] +- org.springframework:spring-web:jar:3.0.5.RELEASE:provided (scope not u
pdated to compile)
[INFO] | +- org.springframework:spring-beans:jar:3.0.5.RELEASE:provided
[INFO] | +- org.springframework:spring-context:jar:3.0.5.RELEASE:provided
[INFO] | | +- org.springframework:spring-aop:jar:3.0.5.RELEASE:provided
[INFO] | | +- org.springframework:spring-expression:jar:3.0.5.RELEASE:provided
[INFO] | | \- org.springframework:spring-asm:jar:3.0.5.RELEASE:provided
[INFO] | \- org.springframework:spring-core:jar:3.0.5.RELEASE:provided
[INFO] +- aopalliance:aopalliance:jar:1.0:runtime
[INFO] +- org.mortbay.jetty:jetty:jar:6.1.16:provided (scope not updated to comp
ile)
[INFO] | \- org.mortbay.jetty:jetty-util:jar:6.1.16:provided
[INFO] +- org.eclipse.jetty:jetty-util:jar:7.4.5.v20110725:runtime (scope not up
dated to compile)
[INFO] +- org.eclipse.jetty:jetty-continuation:jar:7.4.5.v20110725:provided (sco
pe not updated to compile)
[INFO] +- org.eclipse.jetty:jetty-http:jar:7.4.5.v20110725:provided (scope not u
pdated to compile)
[INFO] | \- org.eclipse.jetty:jetty-io:jar:7.4.5.v20110725:provided
[INFO] +- org.eclipse.jetty:jetty-security:jar:7.4.5.v20110725:provided (scope n
ot updated to compile)
[INFO] +- org.objectweb.monolog:monolog-api:jar:1.8:provided (scope not updated
to compile)
[INFO] +- org.objectweb.monolog:monolog:jar:1.8:provided (scope not updated to c
ompile)
[INFO] +- com.sun.xml.bind:jaxb-xjc:jar:2.1.13:provided (scope not updated to ru
ntime)
[INFO] +- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:provide
d (scope not updated to compile)
[INFO] +- org.jabsorb:jabsorb:jar:1.3.1:provided (scope not updated to compile)
[INFO] +- org.slf4j:slf4j-api:jar:1.5.0:provided (scope not updated to compile)
[INFO] +- org.slf4j:slf4j-jdk14:jar:1.5.0:provided (scope not updated to compile
)
[INFO] +- org.jvnet.jaxb2_commons:runtime:jar:0.4.1.5:provided (scope not update
d to compile)
[INFO] +- commons-beanutils:commons-beanutils:jar:1.7.0:provided (scope not upda
ted to compile)
[INFO] +- commons-logging:commons-logging:jar:1.0.3:provided (scope not updated
to compile)
[INFO] +- org.apache.cxf:cxf-tools-wsdlto-core:jar:2.4.2:provided (scope not upd
ated to compile)
[INFO] | \- org.apache.cxf:cxf-tools-validator:jar:2.4.2:provided
[INFO] +- org.apache.cxf:cxf-tools-common:jar:2.4.2:runtime
[INFO] +- org.apache.cxf:cxf-tools-wsdlto-frontend-jaxws:jar:2.4.2:provided (sco
pe not updated to compile)
[INFO] | \- xml-resolver:xml-resolver:jar:1.2:provided
[INFO] +- org.apache.cxf:cxf-tools-wsdlto-databinding-jaxb:jar:2.4.2:provided (s
cope not updated to compile)
[INFO] +- org.eclipse:osgi:jar:3.4.0:provided
[INFO] +- org.eclipse.core:jobs:jar:3.4.0:provided
[INFO] +- asm:asm-util:jar:3.1:provided (scope not updated to compile)
[INFO] | \- asm:asm-tree:jar:3.1:provided
[INFO] +- asm:asm-analysis:jar:3.1:provided (scope not updated to compile)
[INFO] +- javax.activation:activation:jar:1.1:provided (scope not updated to run
time)
[INFO] +- javax.annotation:jsr250-api:jar:1.0:provided (scope not updated to com
pile)
[INFO] +- javax.script:script-api:jar:1.0:provided
[INFO] +- javax.xml.bind:jaxb-api:jar:2.1:provided (scope not updated to runtime
)
[INFO] +- javax.xml.stream:stax-api:jar:1.0-2:provided (scope not updated to com
pile)
[INFO] +- org.ow2.frascati:frascati-runtime-factory:jar:1.5-SNAPSHOT:provided (s
cope not updated to compile)
[INFO] | +- org.ow2.frascati:frascati-component-factory-juliac-jdt:jar:1.5-SNAP
SHOT:provided
[INFO] | | +- org.ow2.frascati:frascati-component-factory-juliac:jar:1.5-SNAPS
HOT:provided
[INFO] | | | \- org.objectweb.fractal.juliac:juliac-core:jar:2.4.3:provided
[INFO] | | | \- com.google.guava:guava:jar:r07:provided
[INFO] | | \- org.objectweb.fractal.juliac:juliac-jdt:jar:2.4.3:provided
[INFO] | | \- org.eclipse.jdt:core:jar:3.3.0.771:provided
[INFO] | \- org.ow2.frascati:frascati-component-factory-juliac-tinfi-oo:jar:1.5
-SNAPSHOT:provided
[INFO] | \- org.ow2.frascati.tinfi:frascati-tinfi-oo:jar:1.4.4:provided
[INFO] | +- org.objectweb.fractal.juliac:juliac-oo:jar:2.4:provided
[INFO] | \- org.ow2.frascati.tinfi:frascati-tinfi-mixins:jar:1.4.4:provid
ed
[INFO] \- org.ow2.frascati:frascati-explorer-api:jar:1.5-SNAPSHOT:provided
[INFO] +- org.objectweb.fractal.fractalexplorer:fractal-explorer:jar:1.1.4:pr
ovided
[INFO] | +- org.objectweb.util.explorer:explorer:jar:1.0:provided
[INFO] | | \- org.objectweb.apollon:apollon-runtime:jar:1.0:provided
[INFO] | | +- org.objectweb.util.misc:ow-misc:jar:1.0:provided
[INFO] | | \- org.objectweb.util:commandline:jar:1.0:provided
[INFO] | +- org.objectweb.util.explorer.plugins:explorer-reflector-plugin:ja
r:1.0:provided
[INFO] | \- jgraph:jgraph:jar:fractal:provided
[INFO] \- org.swinglabs:swing-layout:jar:1.0.3:provided
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40.787s
[INFO] Finished at: Thu Oct 04 12:22:34 CEST 2012
[INFO] Final Memory: 17M/112M
[INFO] ------------------------------------------------------------------------

Setting project.version for pom dependency

I need to set the value for project.version. The reference to ${project.version} will be in the pom for one of my dependencies in its dependency management section. In other words, the dependency org.apache.gora:gora-core:0.2.1 has parameterized the versions of its dependencies. Just my having included gora-core as a simple dependency doesn't set project.version and so none of those indirect dependencies are being included in my build.
The maven documentation hasn't been much help.
Works for me with Maven 3.0.4
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>a</groupId>
<artifactId>b</artifactId>
<version>1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.gora</groupId>
<artifactId>gora-core</artifactId>
<version>0.2.1</version>
</dependency>
</dependencies>
</project>
And when I ask Maven what the dependencies of that are:
$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building b 1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) # b ---
[INFO] a:b:jar:1-SNAPSHOT
[INFO] \- org.apache.gora:gora-core:jar:0.2.1:compile
[INFO] +- org.apache.hadoop:hadoop-core:jar:1.0.1:compile
[INFO] | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | +- xmlenc:xmlenc:jar:0.52:compile
[INFO] | +- commons-httpclient:commons-httpclient:jar:3.0.1:compile
[INFO] | | +- junit:junit:jar:3.8.1:compile
[INFO] | | \- commons-logging:commons-logging:jar:1.0.3:compile
[INFO] | +- commons-codec:commons-codec:jar:1.4:compile
[INFO] | +- org.apache.commons:commons-math:jar:2.1:compile
[INFO] | +- commons-configuration:commons-configuration:jar:1.6:compile
[INFO] | | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | | +- commons-digester:commons-digester:jar:1.8:compile
[INFO] | | | \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[INFO] | +- commons-net:commons-net:jar:1.4.1:compile
[INFO] | +- org.mortbay.jetty:jetty:jar:6.1.26:compile
[INFO] | | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile
[INFO] | +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
[INFO] | +- tomcat:jasper-runtime:jar:5.5.12:compile
[INFO] | +- tomcat:jasper-compiler:jar:5.5.12:compile
[INFO] | +- org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:compile
[INFO] | | \- org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:compile
[INFO] | +- org.mortbay.jetty:jsp-2.1:jar:6.1.14:compile
[INFO] | | \- ant:ant:jar:1.6.5:compile
[INFO] | +- commons-el:commons-el:jar:1.0:compile
[INFO] | +- net.sf.kosmosfs:kfs:jar:0.3:compile
[INFO] | \- oro:oro:jar:2.0.8:compile
[INFO] +- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.5.2:compile
[INFO] | +- org.apache.cxf:cxf-common-utilities:jar:2.5.2:compile
[INFO] | | +- org.apache.ws.xmlschema:xmlschema-core:jar:2.0.1:compile
[INFO] | | \- org.codehaus.woodstox:woodstox-core-asl:jar:4.1.1:runtime
[INFO] | | \- org.codehaus.woodstox:stax2-api:jar:3.1.1:runtime
[INFO] | +- org.apache.cxf:cxf-api:jar:2.5.2:compile
[INFO] | | +- org.apache.neethi:neethi:jar:3.0.1:compile
[INFO] | | \- wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] | +- org.apache.cxf:cxf-rt-core:jar:2.5.2:compile
[INFO] | | +- com.sun.xml.bind:jaxb-impl:jar:2.1.13:compile
[INFO] | | \- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile
[INFO] | +- org.springframework:spring-core:jar:3.0.6.RELEASE:compile
[INFO] | | \- org.springframework:spring-asm:jar:3.0.6.RELEASE:compile
[INFO] | +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] | +- org.apache.cxf:cxf-rt-bindings-xml:jar:2.5.2:compile
[INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:2.5.2:compile
[INFO] | | +- org.apache.cxf:cxf-rt-transports-common:jar:2.5.2:compile
[INFO] | | \- org.springframework:spring-web:jar:3.0.6.RELEASE:compile
[INFO] | | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | | +- org.springframework:spring-beans:jar:3.0.6.RELEASE:compile
[INFO] | | \- org.springframework:spring-context:jar:3.0.6.RELEASE:compile
[INFO] | | +- org.springframework:spring-aop:jar:3.0.6.RELEASE:compile
[INFO] | | \- org.springframework:spring-expression:jar:3.0.6.RELEASE:compile
[INFO] | \- org.codehaus.jettison:jettison:jar:1.3.1:compile
[INFO] +- org.apache.hadoop:avro:jar:1.3.3:compile
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.4.2:compile
[INFO] | | \- org.codehaus.jackson:jackson-core-asl:jar:1.4.2:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.5.11:compile
[INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.2:compile
[INFO] | \- com.thoughtworks.paranamer:paranamer-ant:jar:2.2:compile
[INFO] | +- com.thoughtworks.paranamer:paranamer-generator:jar:2.2:compile
[INFO] | | +- com.thoughtworks.qdox:qdox:jar:1.10.1:compile
[INFO] | | \- asm:asm:jar:3.2:compile
[INFO] | \- org.apache.ant:ant:jar:1.7.1:compile
[INFO] | \- org.apache.ant:ant-launcher:jar:1.7.1:compile
[INFO] +- commons-lang:commons-lang:jar:2.6:compile
[INFO] \- log4j:log4j:jar:1.2.16:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.301s
[INFO] Finished at: Wed Sep 19 19:10:04 IST 2012
[INFO] Final Memory: 8M/81M
[INFO] ------------------------------------------------------------------------
All being pulled in quite fine

Resources