项目执行mvn install 失败

OR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.7:compile (default) on project pg-param-sdk: AJC compiler errors:
[ERROR] error at (no source information available)
[ERROR] D:\api\epp-pg\pg\pg-param-sdk\src\main\java\net\engining\pg\param\sdk\ThreadContextHolder.java:0::0 Internal compiler error: org.aspectj.org.eclipse.jdt.internal.compiler.problem.AbortCompilation: Pb(324) The type javax.validation.constraints.Pattern$Flag cannot be resolved. It is indirectly referenced from required .class files at org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:143)
[ERROR] -> [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.

===================================

项目执行mvn install 失败 加入如下字段  项目正常 运行 

xiang

<dependency>  
            <groupId>javax.validation</groupId>  
            <artifactId>validation-api</artifactId>  
            <version>1.1.0.Final</version>  
        </dependency> 

猜你喜欢

转载自my.oschina.net/u/198077/blog/1801136