主题 : Jeecms Mysql源码版IDEA启动jeecms-admin服务报错
级别: 童生
UID: 135098
积分:16 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2020-07-06
在线时长:0
1#   发表于:2020-07-06 15:20:34  IP:59.181.*.*
Jeecms Mysql x.3源码版IDEA启动jeecms-admin服务报错,找不到config/spring.jpa.properties
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
2#   发表于:2020-07-06 15:25:44  IP:59.48.*.*
您有下载我们的部署说明书吗?
每天告诉自己一次,“我真的很不错”。
级别: 童生
UID: 135098
积分:16 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2020-07-06
在线时长:0
3#   发表于:2020-07-06 15:28:46  IP:59.181.*.*
回复第2楼 按照要求部署的呀
级别: 童生
UID: 135098
积分:16 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2020-07-06
在线时长:0
4#   发表于:2020-07-06 15:32:59  IP:59.181.*.*
这个错误
级别: 童生
UID: 135098
积分:16 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2020-07-06
在线时长:0
5#   发表于:2020-07-06 15:33:31  IP:59.181.*.*
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.jeecms.admin.CmsAdminApplication]; nested exception is java.io.FileNotFoundException: class path resource [config/spring.jpa.properties] cannot be opened because it does not exist
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
6#   发表于:2020-07-06 15:35:12  IP:59.48.*.*
您好  最好是可以发下完整的错误信息给我
每天告诉自己一次,“我真的很不错”。
级别: 童生
UID: 135098
积分:16 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2020-07-06
在线时长:0
7#   发表于:2020-07-06 15:40:30  IP:59.181.*.*
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.jeecms.admin.CmsAdminApplication]; nested exception is java.io.FileNotFoundException: class path resource [config/spring.jpa.properties] cannot be opened because it does not exist
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:184) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:316) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:233) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:271) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:91) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:692) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:530) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.0.8.RELEASE.jar:2.0.8.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-2.0.8.RELEASE.jar:2.0.8.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386) ~[spring-boot-2.0.8.RELEASE.jar:2.0.8.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.0.8.RELEASE.jar:2.0.8.RELEASE]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:137) [spring-boot-2.0.8.RELEASE.jar:2.0.8.RELEASE]
at com.jeecms.admin.CmsAdminApplication.main(CmsAdminApplication.java:61) [classes/:na]
Caused by: java.io.FileNotFoundException: class path resource [config/spring.jpa.properties] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180) ~[spring-core-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:159) ~[spring-core-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:99) ~[spring-core-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:73) ~[spring-core-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:59) ~[spring-core-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.core.io.support.ResourcePropertySource.<init>(ResourcePropertySource.java:67) ~[spring-core-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.core.io.support.DefaultPropertySourceFactory.createPropertySource(DefaultPropertySourceFactory.java:37) ~[spring-core-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:453) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:272) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:245) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:202) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:170) ~[spring-context-5.0.12.RELEASE.jar:5.0.12.RELEASE]
... 12 common frames omitted
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
8#   发表于:2020-07-06 15:48:18  IP:59.48.*.*
您直接启动front吧   
每天告诉自己一次,“我真的很不错”。
级别: 童生
UID: 135098
积分:16 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2020-07-06
在线时长:0
9#   发表于:2020-07-06 15:51:34  IP:59.181.*.*
front启动了  admin就不用启动了是嘛?
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
10#   发表于:2020-07-06 15:52:55  IP:59.48.*.*
admin要启动的话是要单独配置的    开源版本我们不建议您启动admin  front是启动的所有包内的项目的
每天告诉自己一次,“我真的很不错”。
1 共1页