You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/11/08 14:09:38 UTC

[GitHub] [shardingsphere-elasticjob] aibowen opened a new issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

aibowen opened a new issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697


   when i compiled the whole project, i got the following error
   ```
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4:enforce (enforce-maven-version) on project elasticjob: Execution enforce-maven-ve
   rsion of goal org.apache.maven.plugins:maven-enforcer-plugin:1.4:enforce failed: A required class was missing while executing org.apache.maven.plugins:maven-enforc
   er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException
   [ERROR] -----------------------------------------------------
   [ERROR] realm =    plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.4
   [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
   [ERROR] urls[0] = file:/D:/apache-maven/repository/org/apache/maven/plugins/maven-enforcer-plugin/1.4/maven-enforcer-plugin-1.4.jar
   [ERROR] urls[1] = file:/D:/apache-maven/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
   [ERROR] Number of foreign imports: 1
   [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] aibowen commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
aibowen commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-736945393


   It has not been resolved. I cannot upload to the private warehouse after executing the packaging command.
   ----- 原始邮件 -----
   发件人:吴伟杰 <no...@github.com>
   收件人:apache/shardingsphere-elasticjob <sh...@noreply.github.com>
   抄送人:aibowen <bo...@sina.com>,  Mention <me...@noreply.github.com>
   主题:Re: [apache/shardingsphere-elasticjob] A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException (#1697)
   日期:2020年12月01日 23点37分
   
   
   Hello @aibowen,
   
   Have you solved your problem?
   
   &mdash;
   You are receiving this because you were mentioned.
   Reply to this email directly, view it on GitHub, or unsubscribe.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] aibowen commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
aibowen commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-736953455


   3.6.3
   ----- 原始邮件 -----
   发件人:吴伟杰 <no...@github.com>
   收件人:apache/shardingsphere-elasticjob <sh...@noreply.github.com>
   抄送人:aibowen <bo...@sina.com>,  Mention <me...@noreply.github.com>
   主题:Re: [apache/shardingsphere-elasticjob] A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException (#1697)
   日期:2020年12月02日 10点26分
   
   
   What's your maven version?
   
   &mdash;
   You are receiving this because you were mentioned.
   Reply to this email directly, view it on GitHub, or unsubscribe.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] aibowen commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
aibowen commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-737496608


   I run it crrectly
   ----- 原始邮件 -----
   发件人:吴伟杰 <no...@github.com>
   收件人:apache/shardingsphere-elasticjob <sh...@noreply.github.com>
   抄送人:aibowen <bo...@sina.com>,  Mention <me...@noreply.github.com>
   主题:Re: [apache/shardingsphere-elasticjob] A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException (#1697)
   日期:2020年12月02日 23点46分
   
   
   The problem you asked at first does it resolved? Does mvn install runs properly?
   
   &mdash;
   You are receiving this because you were mentioned.
   Reply to this email directly, view it on GitHub, or unsubscribe.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-736946376


   What's your maven version?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-723583112


   I cannot reproduce this problem in my environment. Consider clearing your local maven repository.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-736631703


   Hello @aibowen,
   Have you solved your problem?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] aibowen commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
aibowen commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-723583998


   I found that this class came from enforcer-api.jar, Is it included after your project is successfully built.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-737723284


   `mvn install` runs properly means this issue is done. If you have other problems related with elasticjob cannot find a solution, you may open another issue.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-737314679


   The problem you asked at first does it resolved? Does `mvn install` runs properly?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN closed issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1697: A required class was missing while executing org.apache.maven.plugins:maven-enforc er-plugin:1.4:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1697:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1697#issuecomment-723586880


   > I found that this class came from enforcer-api.jar, Is it included after your project is successfully built.
   
   "enforcer-api.jar" is in my local repository.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org