You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "lizongbo (via GitHub)" <gi...@apache.org> on 2023/08/21 15:13:38 UTC

[GitHub] [shardingsphere] lizongbo opened a new issue, #28211: maven run but error?

lizongbo opened a new issue, #28211:
URL: https://github.com/apache/shardingsphere/issues/28211

   ## Question
   
   follow "Contributor Covenant Submitting of Conduct" from:
   
   https://shardingsphere.apache.org/community/en/involved/conduct/code/
   
   I had git clone the code,and run :
   mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e
   
   but I get error :
   
   ```
   [WARNING] The requested profile "nexus" could not be activated because it does not exist.
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project shardingsphere-parser-distsql-engine: Compilation failure: Compilation failure:
   [ERROR] /D:/githubProjects/shardingsphere/parser/distsql/engine/src/main/java/org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLParser.java:[22,56] 程序包org.apache.shardingsphere.distsql.parser.autogen不存在
   [ERROR] /D:/githubProjects/shardingsphere/parser/distsql/engine/src/main/java/org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLParser.java:[30,48] 找不到符号
   [ERROR]   符号: 类 KernelDistSQLStatementParser
   [ERROR] /D:/githubProjects/shardingsphere/parser/distsql/engine/src/main/java/org/apache/shardingsphere/distsql/parser/core/utility/UtilityDistSQLLexer.java:[21,56] 程序包org.apache.shardingsphere.distsql.parser.autogen不存在
   [ERROR] /D:/githubProjects/shardingsphere/parser/distsql/engine/src/main/java/org/apache/shardingsphere/distsql/parser/core/utility/UtilityDistSQLLexer.java:[27,48] 找不到符号
   [ERROR]   符号: 类 UtilityDistSQLStatementLexer
   ```
   
   
   ![image](https://github.com/apache/shardingsphere/assets/1670666/506b9c6b-9072-4455-8607-1dff5aa2f19d)
   
   
   
   how to gen java source for  org.apache.shardingsphere.distsql.parser.autogen?
   
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere] linghengqian commented on issue #28211: maven run but error?

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #28211:
URL: https://github.com/apache/shardingsphere/issues/28211#issuecomment-1687295749

   - The project is currently built on JDK11+ and unit tests are run on JDK 8+. Are you using JDK11+? Refer to https://github.com/apache/shardingsphere/wiki#how-to-setup-your-dev-environment


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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


Re: [I] maven run but error? [shardingsphere]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #28211:
URL: https://github.com/apache/shardingsphere/issues/28211#issuecomment-1889271542

   - If no one replies, it will be deemed resolved.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] lizongbo commented on issue #28211: maven run but error?

Posted by "lizongbo (via GitHub)" <gi...@apache.org>.
lizongbo commented on issue #28211:
URL: https://github.com/apache/shardingsphere/issues/28211#issuecomment-1688487761

   I use jdk8u382-b05 and got error.
   then I use jdk-11.0.20+8 and run success.
   
   but if I run command:
   mvnw clean install -Prelease -T1C
   then the process not continue run:
   
   ![image](https://github.com/apache/shardingsphere/assets/1670666/96b2b080-d254-4bca-ac03-bdd283c781df)
   
   
   version info is:
   
   ```
   D:\githubProjects\shardingsphere>mvnw -version
   Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29)
   Maven home: C:\Users\8613\.m2\wrapper\dists\apache-maven-3.8.7-bin\678cc9d4\apache-maven-3.8.7
   Java version: 11.0.20, vendor: Eclipse Adoptium, runtime: D:\Java\jdk-11.0.20+8
   Default locale: zh_CN, platform encoding: GBK
   OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"
   
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] lizongbo commented on issue #28211: maven run but error?

Posted by "lizongbo (via GitHub)" <gi...@apache.org>.
lizongbo commented on issue #28211:
URL: https://github.com/apache/shardingsphere/issues/28211#issuecomment-1688590782

   It run vary slow:
   
   ![image](https://github.com/apache/shardingsphere/assets/1670666/a6416b2d-0692-4ab6-b2c5-18969f16ceea)
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] linghengqian commented on issue #28211: maven run but error?

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #28211:
URL: https://github.com/apache/shardingsphere/issues/28211#issuecomment-1689031931

   - Usually, `./mvnw clean install -Release -T1C` does take more than 20 minutes on a device with 6 cores and 16GB memory.  But for validation PR, `./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e` mentioned in PR template can utilize more system resources.  
   
   - I don't have a Windows development environment, I'm assuming the unit tests are failing because you didn't turn on the directory length limit in Windows 11?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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


Re: [I] maven run but error? [shardingsphere]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian closed issue #28211: maven run but error?
URL: https://github.com/apache/shardingsphere/issues/28211


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] github-actions[bot] commented on issue #28211: maven run but error?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #28211:
URL: https://github.com/apache/shardingsphere/issues/28211#issuecomment-1731976368

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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