代码编译报错
pin062788 opened this issue · comments
[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
这个代码感觉缺零件