mvn package 报错
damon46kai opened this issue · comments
Caused by: java.lang.IllegalStateException: Cannot load driver class: @db.driver@
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] CommunityApplicationTests.contextLoads ? IllegalState Failed to load Applicati...
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.301 s
[INFO] Finished at: 2022-12-29T20:18:53-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project community: There are test failures.
[ERROR]
pom.xml 加了这个不报错了