Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教下项目如何构建 #13

Open
Jaraxuss opened this issue Jun 20, 2020 · 0 comments
Open

请教下项目如何构建 #13

Jaraxuss opened this issue Jun 20, 2020 · 0 comments

Comments

@Jaraxuss
Copy link

根目录下(parent 项目)执行 mvn clean install 报错,请问是我构建的方式不对吗?

报错信息:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[3,42] package com.jim.framework.dubbo.core.model does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[4,42] package com.jim.framework.dubbo.core.model does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[5,44] package com.jim.framework.dubbo.core.service does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[6,44] package com.jim.framework.dubbo.core.service does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[20,44] cannot find symbol
  symbol: class ProductService
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[23,13] cannot find symbol
  symbol:   class CommentService
  location: class com.jim.framework.dubbo.provider.service.ProductServiceImpl
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[26,12] cannot find symbol
  symbol:   class Product
  location: class com.jim.framework.dubbo.provider.service.ProductServiceImpl
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/DubboProviderApplication.java:[3,47] package com.jim.framework.dubbo.core.annotation does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/DubboProviderApplication.java:[16,2] cannot find symbol
  symbol: class EnableTraceAutoConfigurationProperties
[INFO] 9 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] jim-framework-parent 1.0.0-SNAPSHOT ................ SUCCESS [  0.944 s]
[INFO] com.jim.framework.dubbo.core 0.0.1-SNAPSHOT ........ SUCCESS [  2.394 s]
[INFO] com.jim.framework.dubbo.provider 0.0.1-SNAPSHOT .... FAILURE [  0.276 s]
[INFO] com.jim.framework.dubbo.provider2 0.0.1-SNAPSHOT ... SKIPPED
[INFO] com.jim.framework.dubbo.consumer 0.0.1-SNAPSHOT .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.972 s
[INFO] Finished at: 2020-06-20T14:40:47+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project dubbo.provider: Compilation failure: Compilation failure: 
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[3,42] package com.jim.framework.dubbo.core.model does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[4,42] package com.jim.framework.dubbo.core.model does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[5,44] package com.jim.framework.dubbo.core.service does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[6,44] package com.jim.framework.dubbo.core.service does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[20,44] cannot find symbol
[ERROR]   symbol: class ProductService
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[23,13] cannot find symbol
[ERROR]   symbol:   class CommentService
[ERROR]   location: class com.jim.framework.dubbo.provider.service.ProductServiceImpl
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/service/ProductServiceImpl.java:[26,12] cannot find symbol
[ERROR]   symbol:   class Product
[ERROR]   location: class com.jim.framework.dubbo.provider.service.ProductServiceImpl
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/DubboProviderApplication.java:[3,47] package com.jim.framework.dubbo.core.annotation does not exist
[ERROR] /Users/velen/Desktop/Velen/Java/Projects/jim-framework/jim-framework-dubbo-provider/src/main/java/com/jim/framework/dubbo/provider/DubboProviderApplication.java:[16,2] cannot find symbol
[ERROR]   symbol: class EnableTraceAutoConfigurationProperties
[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.
[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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :dubbo.provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant