发 帖

Mstore下载排行

赞助者

分享者

Maven有四个包无法下载,所以手动引入了四个包 

楼主: 莫问 2018-09-30 09:00:50 234 1

手动引入的四个包如图:

8.png

相关pom.xml配置修改为如下:

<dependency>

<groupId>net.mingsoft</groupId>

<artifactId>ms-basic</artifactId>

<version>1.0.7</version>

<scope>system</scope>

<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ms-basic-1.0.7.war</systemPath>

</dependency>

项目没报任何错,但是一启动就报如下错误:

信息: Initializing Spring root WebApplicationContext

[铭飞MS-V4.6.5 2018-09-30 08:51:17,463](ERROR) - org.springframework.web.context.ContextLoader - (ContextLoader.java:351) Context initialization failed 

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.mingsoft.cms.parser.CmsParser]; nested exception is java.io.FileNotFoundException: class path resource [com/mingsoft/basic/parser/IGeneralParser.class] cannot be opened because it does not exist

at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:187)

at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)

at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)

at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)

at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)

at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523)

at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)

at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)

at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4900)

……………………

经查,感觉可能是Jar包有误,请问这个ms-basic包是不是有问题?



全部回帖

1条回复
该帖子暂无评论!
  • 1F

    jdk已经是1.8

    2018年09月30日 09:09 | 回复