请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

为什么我用老师的代码(5-4)springboot启动报错,是不是哪里配置有问题,始终没有找到原因,下面是报错信息,求助帮看下!

D:\java\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:61883,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=61882 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\Administrator\.IntelliJIdea2018.2\system\captureAgent\debugger-agent.jar=file:/C:/Users/Administrator/AppData/Local/Temp/capture2349.props -Dfile.encoding=UTF-8 -classpath "D:\java\jre\lib\charsets.jar;D:\java\jre\lib\deploy.jar;D:\java\jre\lib\ext\access-bridge-32.jar;D:\java\jre\lib\ext\cldrdata.jar;D:\java\jre\lib\ext\dnsns.jar;D:\java\jre\lib\ext\jaccess.jar;D:\java\jre\lib\ext\jfxrt.jar;D:\java\jre\lib\ext\localedata.jar;D:\java\jre\lib\ext\nashorn.jar;D:\java\jre\lib\ext\sunec.jar;D:\java\jre\lib\ext\sunjce_provider.jar;D:\java\jre\lib\ext\sunmscapi.jar;D:\java\jre\lib\ext\sunpkcs11.jar;D:\java\jre\lib\ext\zipfs.jar;D:\java\jre\lib\javaws.jar;D:\java\jre\lib\jce.jar;D:\java\jre\lib\jfr.jar;D:\java\jre\lib\jfxswt.jar;D:\java\jre\lib\jsse.jar;D:\java\jre\lib\management-agent.jar;D:\java\jre\lib\plugin.jar;D:\java\jre\lib\resources.jar;D:\java\jre\lib\rt.jar;D:\code\idea\cpsp-web\src\main\webapp\WEB-INF\lib\bps-remote-core-0.x.jar;D:\code\idea\cpsp-web\src\main\webapp\WEB-INF\lib\ojdbc6.jar;D:\code\zl\mmall\src\main\webapp\WEB-INF\lib\alipay-sdk-java20161213173952-source.jar;D:\code\zl\mmall\src\main\webapp\WEB-INF\lib\alipay-sdk-java20161213173952.jar;D:\code\zl\mmall\src\main\webapp\WEB-INF\lib\alipay-trade-sdk-20161215-source.jar;D:\code\zl\mmall\src\main\webapp\WEB-INF\lib\alipay-trade-sdk-20161215.jar;D:\code\zl\lombok.jar;E:\interviews\study01\素材\lib\com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar;E:\interviews\weixinOrderStudy\coding-117\target\classes;D:\edit\Maven Library\org\springframework\boot\spring-boot-starter-web\1.5.3.RELEASE\spring-boot-starter-web-1.5.3.RELEASE.jar;D:\edit\Maven Library\org\springframework\boot\spring-boot-starter\1.5.3.RELEASE\spring-boot-starter-1.5.3.RELEASE.jar;D:\edit\Maven Library\org\springframework\boot\spring-boot\1.5.3.RELEASE\spring-boot-1.5.3.RELEASE.jar;D:\edit\Maven Library\org\springframework\boot\spring-boot-autoconfigure\1.5.3.RELEASE\spring-boot-autoconfigure-1.5.3.RELEASE.jar;D:\edit\Maven Library\org\springframework\boot\spring-boot-starter-logging\1.5.3.RELEASE\spring-boot-starter-logging-1.5.3.RELEASE.jar;D:\edit\Maven Library\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar;D:\edit\Maven Library\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar;D:\edit\Maven Library\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;D:\edit\Maven Library\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;D:\edit\Maven Library\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;D:\edit\Maven Library\org\springframework\boot\spring-boot-starter-tomcat\1.5.3.RELEASE\spring-boot-starter-tomcat-1.5.3.RELEASE.jar;D:\edit\Maven Library\org\apache\tomcat\embed\tomcat-embed-core\8.5.14\tomcat-embed-core-8.5.14.jar;D:\edit\Maven Library\org\apache\tomcat\embed\tomcat-embed-el\8.5.14\tomcat-embed-el-8.5.14.jar;D:\edit\Maven Library\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.14\tomcat-embed-websocket-8.5.14.jar;D:\edit\Maven Library\org\hibernate\hibernate-validator\5.3.5.Final\hibernate-validator-5.3.5.Final.jar;D:\edit\Maven Library\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;D:\edit\Maven Library\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar;D:\edit\Maven Library\com\fasterxml\classmate\1.3.3\classmate-1.3.3.jar;D:\edit\Maven Library\com\fasterxml\jackson\core\jackson-databind\2.8.8\jackson-databind-2.8.8.jar;D:\edit\Maven Library\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;D:\edit\Maven Library\com\fasterxml\jackson\core\jackson-core\2.8.8\jackson-core-2.8.8.jar;D:\edit\Maven Library\org\springframework\spring-web\4.3.8.RELEASE\spring-web-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\springframework\spring-aop\4.3.8.RELEASE\spring-aop-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\springframework\spring-beans\4.3.8.RELEASE\spring-beans-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\springframework\spring-context\4.3.8.RELEASE\spring-context-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\springframework\spring-webmvc\4.3.8.RELEASE\spring-webmvc-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\springframework\spring-expression\4.3.8.RELEASE\spring-expression-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;D:\edit\Maven Library\org\springframework\spring-core\4.3.8.RELEASE\spring-core-4.3.8.RELEASE.jar;D:\edit\Maven Library\mysql\mysql-connector-java\5.1.41\mysql-connector-java-5.1.41.jar;D:\edit\Maven Library\org\springframework\boot\spring-boot-starter-data-jpa\1.5.3.RELEASE\spring-boot-starter-data-jpa-1.5.3.RELEASE.jar;D:\edit\Maven Library\org\springframework\boot\spring-boot-starter-aop\1.5.3.RELEASE\spring-boot-starter-aop-1.5.3.RELEASE.jar;D:\edit\Maven Library\org\aspectj\aspectjweaver\1.8.10\aspectjweaver-1.8.10.jar;D:\edit\Maven Library\org\springframework\boot\spring-boot-starter-jdbc\1.5.3.RELEASE\spring-boot-starter-jdbc-1.5.3.RELEASE.jar;D:\edit\Maven Library\org\apache\tomcat\tomcat-jdbc\8.5.14\tomcat-jdbc-8.5.14.jar;D:\edit\Maven Library\org\apache\tomcat\tomcat-juli\8.5.14\tomcat-juli-8.5.14.jar;D:\edit\Maven Library\org\springframework\spring-jdbc\4.3.8.RELEASE\spring-jdbc-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\hibernate\hibernate-core\5.0.12.Final\hibernate-core-5.0.12.Final.jar;D:\edit\Maven Library\org\hibernate\javax\persistence\hibernate-jpa-2.1-api\1.0.0.Final\hibernate-jpa-2.1-api-1.0.0.Final.jar;D:\edit\Maven Library\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;D:\edit\Maven Library\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\edit\Maven Library\org\jboss\jandex\2.0.0.Final\jandex-2.0.0.Final.jar;D:\edit\Maven Library\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;D:\edit\Maven Library\org\hibernate\common\hibernate-commons-annotations\5.0.1.Final\hibernate-commons-annotations-5.0.1.Final.jar;D:\edit\Maven Library\org\hibernate\hibernate-entitymanager\5.0.12.Final\hibernate-entitymanager-5.0.12.Final.jar;D:\edit\Maven Library\javax\transaction\javax.transaction-api\1.2\javax.transaction-api-1.2.jar;D:\edit\Maven Library\org\springframework\data\spring-data-jpa\1.11.3.RELEASE\spring-data-jpa-1.11.3.RELEASE.jar;D:\edit\Maven Library\org\springframework\data\spring-data-commons\1.13.3.RELEASE\spring-data-commons-1.13.3.RELEASE.jar;D:\edit\Maven Library\org\springframework\spring-orm\4.3.8.RELEASE\spring-orm-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\springframework\spring-tx\4.3.8.RELEASE\spring-tx-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;D:\edit\Maven Library\org\springframework\spring-aspects\4.3.8.RELEASE\spring-aspects-4.3.8.RELEASE.jar;D:\edit\Maven Library\org\projectlombok\lombok\1.16.16\lombok-1.16.16.jar;D:\edit\idea\IntelliJ IDEA 2018.2.2\lib\idea_rt.jar" com.imooc.SellApplication

Connected to the target VM, address: '127.0.0.1:61883', transport: 'socket'


  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::        (v1.5.3.RELEASE)


2019-12-20 17:49:36.924  INFO 15264 --- [           main] com.imooc.SellApplication                : Starting SellApplication on PC-20180818LKEV with PID 15264 (E:\interviews\weixinOrderStudy\coding-117\target\classes started by zhouliang in E:\interviews\weixinOrderStudy\coding-117)

2019-12-20 17:49:36.927  INFO 15264 --- [           main] com.imooc.SellApplication                : No active profile set, falling back to default profiles: default

2019-12-20 17:49:36.991  INFO 15264 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@f5281c: startup date [Fri Dec 20 17:49:36 CST 2019]; root of context hierarchy

2019-12-20 17:49:38.757  INFO 15264 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)

2019-12-20 17:49:38.776  INFO 15264 --- [           main] o.apache.catalina.core.StandardService   : Starting service Tomcat

2019-12-20 17:49:38.777  INFO 15264 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.14

2019-12-20 17:49:38.952  INFO 15264 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/sell]   : Initializing Spring embedded WebApplicationContext

2019-12-20 17:49:38.952  INFO 15264 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1964 ms

2019-12-20 17:49:39.234  INFO 15264 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Mapping servlet: 'dispatcherServlet' to [/]

2019-12-20 17:49:39.239  INFO 15264 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]

2019-12-20 17:49:39.240  INFO 15264 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]

2019-12-20 17:49:39.240  INFO 15264 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]

2019-12-20 17:49:39.240  INFO 15264 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]

2019-12-20 17:49:39.871  INFO 15264 --- [           main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'

2019-12-20 17:49:39.886  INFO 15264 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [

name: default

...]

2019-12-20 17:49:40.004  INFO 15264 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.0.12.Final}

2019-12-20 17:49:40.006  INFO 15264 --- [           main] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found

2019-12-20 17:49:40.007  INFO 15264 --- [           main] org.hibernate.cfg.Environment            : HHH000021: Bytecode provider name : javassist

2019-12-20 17:49:40.053  WARN 15264 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLEventFactory cannot be created

2019-12-20 17:49:40.058  INFO 15264 --- [           main] o.apache.catalina.core.StandardService   : Stopping service Tomcat

2019-12-20 17:49:40.068  INFO 15264 --- [           main] utoConfigurationReportLoggingInitializer : 


Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.

2019-12-20 17:49:40.081 ERROR 15264 --- [           main] o.s.boot.SpringApplication               : Application startup failed


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLEventFactory cannot be created

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1081) ~[spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:856) ~[spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542) ~[spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]

at com.imooc.SellApplication.main(SellApplication.java:10) [classes/:na]

Caused by: javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLEventFactory cannot be created

at javax.xml.stream.FactoryFinder.findServiceProvider(FactoryFinder.java:370) ~[na:1.8.0_102]

at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:313) ~[na:1.8.0_102]

at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:227) ~[na:1.8.0_102]

at javax.xml.stream.XMLEventFactory.newInstance(XMLEventFactory.java:64) ~[na:1.8.0_102]

at org.hibernate.boot.jaxb.internal.MappingBinder.<init>(MappingBinder.java:40) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]

at org.hibernate.boot.spi.XmlMappingBinderAccess.<init>(XmlMappingBinderAccess.java:43) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]

at org.hibernate.boot.MetadataSources.<init>(MetadataSources.java:87) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]

at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:179) ~[hibernate-entitymanager-5.0.12.Final.jar:5.0.12.Final]

at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:149) ~[hibernate-entitymanager-5.0.12.Final.jar:5.0.12.Final]

at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:54) ~[spring-orm-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:353) ~[spring-orm-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:370) ~[spring-orm-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:359) ~[spring-orm-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]

... 16 common frames omitted

Caused by: java.lang.RuntimeException: Provider for class javax.xml.stream.XMLEventFactory cannot be created

at javax.xml.stream.FactoryFinder.findServiceProvider(FactoryFinder.java:367) ~[na:1.8.0_102]

... 30 common frames omitted

Caused by: java.util.ServiceConfigurationError: javax.xml.stream.XMLEventFactory: Provider com.ctc.wstx.stax.WstxEventFactory not found

at java.util.ServiceLoader.fail(ServiceLoader.java:239) ~[na:1.8.0_102]

at java.util.ServiceLoader.access$300(ServiceLoader.java:185) ~[na:1.8.0_102]

at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372) ~[na:1.8.0_102]

at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) ~[na:1.8.0_102]

at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[na:1.8.0_102]

at javax.xml.stream.FactoryFinder$1.run(FactoryFinder.java:353) ~[na:1.8.0_102]

at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_102]

at javax.xml.stream.FactoryFinder.findServiceProvider(FactoryFinder.java:341) ~[na:1.8.0_102]

... 30 common frames omitted


Disconnected from the target VM, address: '127.0.0.1:61883', transport: 'socket'


Process finished with exit code 1

https://img1.sycdn.imooc.com//szimg/5dfc9b490967827814570760.jpg

https://img1.sycdn.imooc.com//szimg/5dfc9b49092ccd8e13960821.jpg

https://img1.sycdn.imooc.com/szimg/5dfc9b490915658f17570905.jpg


正在回答 回答被采纳积分+3

2回答

廖师兄 2019-12-25 21:28:54

这3个地方都注意。可以先删除settings.xml文件

//img1.sycdn.imooc.com//szimg/5e036402094ebabf22421210.jpg


0 回复 有任何疑惑可以回复我~
廖师兄 2019-12-21 20:10:24

我刚用下载5-4代码,是可以正常启动的。从你的报错信息来看,是引入了错误的组件或者错误的版本。你可以尝试以下做法。

  1. 清空本地Maven仓库

  2. 删除settings文件(有可能是镜像配置不对,导致jar包没成功下载)


0 回复 有任何疑惑可以回复我~
  • 提问者 慕婉清2485985 #1
    还是不行,删除settings文件也不行,我只要是springboot工程就起不来,非springboot工程是正常的,点击spring-boot-starter-parent里报错,应该是这里面报错造成的
    回复 有任何疑惑可以回复我~ 2019-12-23 13:43:18
  • 廖师兄 回复 提问者 慕婉清2485985 #2
    关闭idea,用mvn命令打包试试
    回复 有任何疑惑可以回复我~ 2019-12-23 23:38:05
  • 提问者 慕婉清2485985 回复 廖师兄 #3
    mvn clean package -Dmaven.test.skip=true 跳过单元测试是打包成功的BUILD SUCCESS
    回复 有任何疑惑可以回复我~ 2019-12-23 23:51:41
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信