解决方案 »
- hibernate n+1解决方法的疑问
- 一个Spring的错误,急!!
- 关于人肉搜索
- Spring 声明式事务不回滚 !!!
- java如何构建无限长度的字符串
- 招 Java 程序员
- jboss启动失败,javax.management.InstanceNotFoundException
- 高手进~~关于servlet容器 优化的问题
- 一条sql语句在sql plus中执行只需0点几秒,JDBC执行下要5,6秒,会是什么原因 ???
- [实践结果]jbuilder9调试自带(或者非自带)tomcat实现DB连接功能并非配置那个server8080.xml
- s2sh环境下使用注解开发的教学视频
- 关于hibernate,对同一个对象的多个实例入库
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cms-web Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.konghao.cms:cms-core:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.konghao.cms:cms-user:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.044s
[INFO] Finished at: Mon Jul 22 15:33:09 CST 2013
[INFO] Final Memory: 9M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cms-web: Could not resolve dependencies for project org.konghao.cms:cms-web:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.konghao.cms:cms-core:jar:0.0.1-SNAPSHOT, org.konghao.cms:cms-user:jar:0.0.1-SNAPSHOT: Could not find artifact org.konghao.cms:cms-core:jar:0.0.1-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExceptioncms-user
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.konghao.cms</groupId>
<artifactId>cms-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../cms-parent/pom.xml</relativePath>
</parent> <artifactId>cms-user</artifactId>
<packaging>jar</packaging> <name>cms-user</name> <dependencies>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cms-core</artifactId>
</dependency>
</dependencies>
</project>
cms-core
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <artifactId>cms-core</artifactId>
<packaging>jar</packaging>
<parent>
<groupId>org.konghao.cms</groupId>
<artifactId>cms-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../cms-parent/pom.xml</relativePath>
</parent> <name>cms-core</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>jsr303</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
</dependency>
<dependency>
<groupId>org.konghao.basic</groupId>
<artifactId>basic-hibernate</artifactId>
</dependency>
</dependencies>
</project>