problem using maven and web project in build 8792

Hi,
I am having a strange problem with the maven integration and a web project. It seems intellij puts all the jars files it normally puts directly under WEB-INF/lib in a subfolder specific to that jar file with the name of the jar file (so incuding .jar). Tomcat does not like this. Is there something I can do about this? The screendump might help in understanding what I mean.

The following errors I get when I compile just one of my modules the webproject is depending upon.

Information:Compilation completed with 45 errors and 0 warnings
Information:45 errors
Information:0 warnings
Error:Error copying '/Users/jettro/.m2/repository/commons-dbcp/commons-dbcp/1.2.1/commons-dbcp-1.2.1.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/commons-dbcp-1.2.1.jar/commons-dbcp-1.2.1.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/spring-orm/2.5.5/spring-orm-2.5.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-orm-2.5.5.jar/spring-orm-2.5.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/jaxb-api-2.0.jar/jaxb-api-2.0.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/backport-util-concurrent-3.1.jar/backport-util-concurrent-3.1.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/xml-apis-1.0.b2.jar/xml-apis-1.0.b2.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/mail-1.4.jar/mail-1.4.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/commons-pool/commons-pool/1.2/commons-pool-1.2.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/commons-pool-1.2.jar/commons-pool-1.2.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/net/sf/dozer/dozer/4.2.1/dozer-4.2.1.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/dozer-4.2.1.jar/dozer-4.2.1.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/commons-lang-2.3.jar/commons-lang-2.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/activation-1.1.jar/activation-1.1.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/spring-tx/2.5.5/spring-tx-2.5.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-tx-2.5.5.jar/spring-tx-2.5.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/aspectj/aspectjrt/1.5.3/aspectjrt-1.5.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/aspectjrt-1.5.3.jar/aspectjrt-1.5.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/com/lowagie/itext/1.3.1/itext-1.3.1.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/itext-1.3.1.jar/itext-1.3.1.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/asm-1.5.3.jar/asm-1.5.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/commons-collections-3.1.jar/commons-collections-3.1.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/spring-jdbc/2.5.5/spring-jdbc-2.5.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-jdbc-2.5.5.jar/spring-jdbc-2.5.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/jta-1.0.1B.jar/jta-1.0.1B.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/cglib-2.1_3.jar/cglib-2.1_3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/commons-logging-1.0.3.jar/commons-logging-1.0.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/hibernate/hibernate/3.2.4.sp1/hibernate-3.2.4.sp1.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/hibernate-3.2.4.sp1.jar/hibernate-3.2.4.sp1.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/antlr-2.7.6.jar/antlr-2.7.6.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/security/spring-security-core-tiger/2.0.3/spring-security-core-tiger-2.0.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-security-core-tiger-2.0.3.jar/spring-security-core-tiger-2.0.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/jaxb-impl-2.0.5.jar/jaxb-impl-2.0.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/com/adobe/blazeds/blazeds-core/3.0.0.544/blazeds-core-3.0.0.544.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/blazeds-core-3.0.0.544.jar/blazeds-core-3.0.0.544.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/security/spring-security-core/2.0.3/spring-security-core-2.0.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-security-core-2.0.3.jar/spring-security-core-2.0.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/spring-beans/2.5.5/spring-beans-2.5.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-beans-2.5.5.jar/spring-beans-2.5.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/dom4j-1.6.1.jar/dom4j-1.6.1.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/com/adobe/blazeds/blazeds-remoting/3.0.0.544/blazeds-remoting-3.0.0.544.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/blazeds-remoting-3.0.0.544.jar/blazeds-remoting-3.0.0.544.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/maven-plugin-api-2.0.jar/maven-plugin-api-2.0.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/com/adobe/blazeds/blazeds-common/3.0.0.544/blazeds-common-3.0.0.544.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/blazeds-common-3.0.0.544.jar/blazeds-common-3.0.0.544.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/commons-beanutils-1.7.0.jar/commons-beanutils-1.7.0.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/log4j-1.2.9.jar/log4j-1.2.9.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/spring-context/2.5.5/spring-context-2.5.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-context-2.5.5.jar/spring-context-2.5.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/aopalliance-1.0.jar/aopalliance-1.0.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/ehcache-1.2.3.jar/ehcache-1.2.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/asm-attrs-1.5.3.jar/asm-attrs-1.5.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/mysql/mysql-connector-java/5.0.5/mysql-connector-java-5.0.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/mysql-connector-java-5.0.5.jar/mysql-connector-java-5.0.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/xerces/xercesImpl/2.0.2/xercesImpl-2.0.2.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/xercesImpl-2.0.2.jar/xercesImpl-2.0.2.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/aspectj/aspectjweaver/1.5.3/aspectjweaver-1.5.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/aspectjweaver-1.5.3.jar/aspectjweaver-1.5.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/spring-web/2.5.5/spring-web-2.5.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-web-2.5.5.jar/spring-web-2.5.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/commons-codec-1.3.jar/commons-codec-1.3.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/spring-core/2.5.5/spring-core-2.5.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-core-2.5.5.jar/spring-core-2.5.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/spring-aop/2.5.5/spring-aop-2.5.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-aop-2.5.5.jar/spring-aop-2.5.5.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/jsr173_api-1.0.jar/jsr173_api-1.0.jar'.: Not a directory
Error:Error copying '/Users/jettro/.m2/repository/org/springframework/spring-context-support/2.5.5/spring-context-support-2.5.5.jar' to '/Users/jettro/sources/backoffice/backoffice-web/target/backoffice-web/WEB-INF/lib/spring-context-support-2.5.5.jar/spring-context-support-2.5.5.jar'.: Not a directory


thanks Jettro

Edited by: Jettro Coenradie on Sep 17, 2008 1:28 AM



Attachment(s):
Picture 3.png
1 comment
Comment actions Permalink

Hi, Jettro,

This problem has already been found and fixed. Please wait for the next 8.0 eap.

Thanks.

0

Please sign in to leave a comment.