fuzhengwei / itstack-demo-design

:art: 《重学Java设计模式》是一本互联网真实案例实践书籍。以落地解决方案为核心,从实际业务中抽离出,交易、营销、秒杀、中间件、源码等22个真实场景,来学习设计模式的运用。欢迎关注小傅哥,微信(fustack),公众号:bugstack虫洞栈,博客:https://bugstack.cn
https://bugstack.cn
Apache License 2.0
6.47k stars 1.92k forks source link

代码编译报错 #4

Open pin062788 opened 4 years ago

pin062788 commented 4 years ago

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project itstack-demo-desgin-4-01: Compilation failure: Compilation failure: [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[12,14] 找不到符号 [ERROR] 符号: 类 ChoiceQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[12,65] 找不到符号 [ERROR] 符号: 类 ChoiceQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[13,14] 找不到符号 [ERROR] 符号: 类 AnswerQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[13,65] 找不到符号 [ERROR] 符号: 类 AnswerQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[46,36] 找不到符号 [ERROR] 符号: 类 ChoiceQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[47,36] 找不到符号 [ERROR] 符号: 类 ChoiceQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[48,36] 找不到符号 [ERROR] 符号: 类 ChoiceQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[49,36] 找不到符号 [ERROR] 符号: 类 ChoiceQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[50,36] 找不到符号 [ERROR] 符号: 类 ChoiceQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[51,36] 找不到符号 [ERROR] 符号: 类 AnswerQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[52,36] 找不到符号 [ERROR] 符号: 类 AnswerQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[53,36] 找不到符号 [ERROR] 符号: 类 AnswerQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [ERROR] /Users/haibinlu/github/design-pattern/itstack-demo-design/itstack-demo-desgin-4-01/src/main/java/org/itstack/demo/design/QuestionBankController.java:[54,36] 找不到符号 [ERROR] 符号: 类 AnswerQuestion [ERROR] 位置: 类 org.itstack.demo.design.QuestionBankController [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 -rf :itstack-demo-desgin-4-01

TheGreatHaige commented 1 year ago

这个代码感觉缺零件