1
안녕하세요. 내 데스크톱 컴퓨터에 최대 절전 모드 v4.0.0.CR2를 설치하려고하는데 Maven이 작동해야합니다.Maven 빌드 오류
Maven에 필요한 환경 변수를 설정하고 명령 줄에서 maven을 빌드하려고합니다. 나는 (내 바탕 화면에) 메이븐의 bin 디렉토리에서 명령 프롬프트에서 'MVN 3.0.3'명령을 실행하면 나는 오류를 얻을 :
내 pom.xml 파일이있는 bin 디렉토리에D:\Documents and Settings\user\Desktop\apache-maven-3.0.3\bin>mvn
3.0.3 [INFO] Scanning for projects... [ERROR] The build could not read
1 project -> [Help 1] [ERROR] [ERROR] The project
org.hibernate.tutorials:hibernate-tutorial:1.0.0-SNAPSHOT
(D:\Documents and
Settings\user\Desktop\apache-maven-3.0.3\bin\pom.xml) has 4 errors
[ERROR] 'dependencies.dependency.version' for
org.hibernate:hibernate-core:j ar is missing. @ line 18, column 21
[ERROR] 'dependencies.dependency.version' for
javax.servlet:servlet-api:jar is missing. @ line 24, column 21 [ERROR]
'dependencies.dependency.version' for org.slf4j:slf4j-simple:jar is
missing. @ line 30, column 21 [ERROR]
'dependencies.dependency.version' for javassist:javassist:jar is mis
sing. @ line 36, column 21 [ERROR] [ERROR] To see the full stack trace
of the errors, re-run Maven with the -e swit ch. [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 rea d
the following articles: [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException D:\Documents and
Settings\user\Desktop\apache-maven-3.0.3\bin>
메이븐 :
<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>
<groupId>org.hibernate.tutorials</groupId>
<artifactId>hibernate-tutorial</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>First Hibernate Tutorial</name>
<build>
<!-- we dont want the version to be part of the generated war
file name -->
<finalName>${artifactId}</finalName>
</build>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
</dependency>
<!-- Because this is a web app, we also have a dependency on
the servlet api. -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<!-- Hibernate uses slf4j for logging, for our purposes here
use the simple backend -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>
<!-- Hibernate gives you a choice of bytecode providers
between cglib and javassist -->
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
</dependency>
</dependencies> </project>
나 최대 절전 모드가 그러나 나는이 문제에 발견 한 직장에서 사용할 수에 대한 느낌을 얻을 수있는 웹 사이트에 최대 절전 모드 자습서를 다음입니다.
내가 잘못 나온 아이디어가 있습니까?
감사합니다!
감사합니다. 내가 필요한 것 – Nacht