diff --git a/config/app.properties b/config/app.properties index 37c7bca..19b9e6d 100644 --- a/config/app.properties +++ b/config/app.properties @@ -120,4 +120,5 @@ pay.app-secret=91be0b54ba41f71f8e0506a7da95a8ff erp.api.base-url=http://api.erp2.xdadan.com/api/microsvr erp.api.pay.notify-url=http://api.erp2.xdadan.com/api/microsvr/common/payNotifyCallback -system.fontPath="/usr/share/fonts" \ No newline at end of file +system.fontPath=/usr/share/fonts + diff --git a/emis-server/pom.xml b/emis-server/pom.xml index f8d2129..167150c 100644 --- a/emis-server/pom.xml +++ b/emis-server/pom.xml @@ -36,17 +36,17 @@ - - com.xdadan - emis-biz-web - 1.0.2 - + + + + + - - com.xdadan - emis-wms-web - 1.0.2 - + + + + + mysql diff --git a/logs/app_all_error.log b/logs/app_all_error.log new file mode 100644 index 0000000..311f087 --- /dev/null +++ b/logs/app_all_error.log @@ -0,0 +1,80 @@ +[allinone-server][ERROR][2024-07-28 18:15:47][restartedMain][o.s.b.SpringApplication.reportFailure(line:865)]:> Application run failed +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.xdadan.erp.LaunchApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:448) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) + at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:143) + at com.xdadan.erp.LaunchApplication.initByLocal(LaunchApplication.java:53) + at com.xdadan.erp.LaunchApplication.main(LaunchApplication.java:28) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) +Caused by: java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist + at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:199) + at org.springframework.core.type.classreading.SimpleMetadataReader.getClassReader(SimpleMetadataReader.java:55) + at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:49) + at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103) + at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.createMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:86) + at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.getMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:73) + at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:81) + at org.springframework.context.annotation.ConfigurationClassParser.asSourceClass(ConfigurationClassParser.java:696) + at org.springframework.context.annotation.ConfigurationClassParser$SourceClass.getInterfaces(ConfigurationClassParser.java:1024) + at org.springframework.context.annotation.ConfigurationClassParser.processInterfaces(ConfigurationClassParser.java:386) + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:332) + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199) + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:304) + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) + ... 18 common frames omitted +[allinone-server][ERROR][2024-07-28 18:18:13][restartedMain][o.s.b.SpringApplication.reportFailure(line:865)]:> Application run failed +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.xdadan.erp.LaunchApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:448) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) + at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:143) + at com.xdadan.erp.LaunchApplication.initByLocal(LaunchApplication.java:53) + at com.xdadan.erp.LaunchApplication.main(LaunchApplication.java:28) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) +Caused by: java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist + at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:199) + at org.springframework.core.type.classreading.SimpleMetadataReader.getClassReader(SimpleMetadataReader.java:55) + at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:49) + at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103) + at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.createMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:86) + at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.getMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:73) + at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:81) + at org.springframework.context.annotation.ConfigurationClassParser.asSourceClass(ConfigurationClassParser.java:696) + at org.springframework.context.annotation.ConfigurationClassParser$SourceClass.getInterfaces(ConfigurationClassParser.java:1024) + at org.springframework.context.annotation.ConfigurationClassParser.processInterfaces(ConfigurationClassParser.java:386) + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:332) + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199) + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:304) + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) + ... 18 common frames omitted diff --git a/logs/app_all_info.log b/logs/app_all_info.log new file mode 100644 index 0000000..08fd426 --- /dev/null +++ b/logs/app_all_info.log @@ -0,0 +1,88 @@ +[allinone-server][INFO][2024-07-28 18:15:43][background-preinit][o.h.v.i.u.Version.(line:21)]:> HV000001: Hibernate Validator 6.2.2.Final +[allinone-server][INFO][2024-07-28 18:15:43][restartedMain][o.s.b.StartupInfoLogger.logStarting(line:55)]:> Starting LaunchApplication using Java 1.8.0_201 on 192.168.43.217 with PID 83107 (/Users/alan/work/git/tanex56/emis-backend/emis-server/target/classes started by alan in /Users/alan/work/git/tanex56/emis-backend) +[allinone-server][INFO][2024-07-28 18:15:43][restartedMain][o.s.b.SpringApplication.logStartupProfileInfo(line:675)]:> No active profile set, falling back to 1 default profile: "default" +[allinone-server][WARN][2024-07-28 18:15:47][restartedMain][o.s.c.s.AbstractApplicationContext.refresh(line:591)]:> Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.xdadan.erp.LaunchApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist +[allinone-server][ERROR][2024-07-28 18:15:47][restartedMain][o.s.b.SpringApplication.reportFailure(line:865)]:> Application run failed +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.xdadan.erp.LaunchApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:448) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) + at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:143) + at com.xdadan.erp.LaunchApplication.initByLocal(LaunchApplication.java:53) + at com.xdadan.erp.LaunchApplication.main(LaunchApplication.java:28) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) +Caused by: java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist + at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:199) + at org.springframework.core.type.classreading.SimpleMetadataReader.getClassReader(SimpleMetadataReader.java:55) + at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:49) + at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103) + at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.createMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:86) + at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.getMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:73) + at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:81) + at org.springframework.context.annotation.ConfigurationClassParser.asSourceClass(ConfigurationClassParser.java:696) + at org.springframework.context.annotation.ConfigurationClassParser$SourceClass.getInterfaces(ConfigurationClassParser.java:1024) + at org.springframework.context.annotation.ConfigurationClassParser.processInterfaces(ConfigurationClassParser.java:386) + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:332) + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199) + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:304) + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) + ... 18 common frames omitted +[allinone-server][INFO][2024-07-28 18:18:12][background-preinit][o.h.v.i.u.Version.(line:21)]:> HV000001: Hibernate Validator 6.2.2.Final +[allinone-server][INFO][2024-07-28 18:18:12][restartedMain][o.s.b.StartupInfoLogger.logStarting(line:55)]:> Starting LaunchApplication using Java 1.8.0_201 on 192.168.43.217 with PID 83362 (/Users/alan/work/git/tanex56/emis-backend/emis-server/target/classes started by alan in /Users/alan/work/git/tanex56/emis-backend) +[allinone-server][INFO][2024-07-28 18:18:12][restartedMain][o.s.b.SpringApplication.logStartupProfileInfo(line:675)]:> No active profile set, falling back to 1 default profile: "default" +[allinone-server][WARN][2024-07-28 18:18:13][restartedMain][o.s.c.s.AbstractApplicationContext.refresh(line:591)]:> Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.xdadan.erp.LaunchApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist +[allinone-server][ERROR][2024-07-28 18:18:13][restartedMain][o.s.b.SpringApplication.reportFailure(line:865)]:> Application run failed +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.xdadan.erp.LaunchApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) + at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:448) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) + at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:143) + at com.xdadan.erp.LaunchApplication.initByLocal(LaunchApplication.java:53) + at com.xdadan.erp.LaunchApplication.main(LaunchApplication.java:28) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) +Caused by: java.io.FileNotFoundException: class path resource [org/springframework/web/servlet/config/annotation/WebMvcConfigurer.class] cannot be opened because it does not exist + at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:199) + at org.springframework.core.type.classreading.SimpleMetadataReader.getClassReader(SimpleMetadataReader.java:55) + at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:49) + at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103) + at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.createMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:86) + at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.getMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:73) + at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:81) + at org.springframework.context.annotation.ConfigurationClassParser.asSourceClass(ConfigurationClassParser.java:696) + at org.springframework.context.annotation.ConfigurationClassParser$SourceClass.getInterfaces(ConfigurationClassParser.java:1024) + at org.springframework.context.annotation.ConfigurationClassParser.processInterfaces(ConfigurationClassParser.java:386) + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:332) + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199) + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:304) + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) + ... 18 common frames omitted