`
/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53666,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dmanagement.endpoints.jmx.exposure.include=* -javaagent:/Users/xiaowan/Library/Caches/JetBrains/IntelliJIdea2023.2/captureAgent/debugger-agent.jar -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar com.intellij.rt.execution.CommandLineWrapper /private/var/folders/5_/kb_222ys511917rw40zp7n700000gn/T/idea_classpath1158541302 com.jeesite.modules.Application
Connected to the target VM, address: '127.0.0.1:53666', transport: 'socket'
19:42:15,935 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
19:42:15,935 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
19:42:15,935 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/xiaowan/devprojects/corpProject/TMS/modules/openapi-sdk-demo-java-master/target/classes/logback.xml]
19:42:15,967 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
19:42:15,969 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Will scan for changes in [file:/Users/xiaowan/devprojects/corpProject/TMS/modules/openapi-sdk-demo-java-master/target/classes/logback.xml]
19:42:15,969 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeTask scanning period to 3 minutes
19:42:15,974 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
19:42:15,976 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [Console]
19:42:15,981 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
19:42:16,004 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
19:42:16,004 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [RollingFile]
19:42:16,010 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@85445963 - No compression will be used
19:42:16,010 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@85445963 - Will use the pattern logs/bmi-%d{yyyy-MM-dd}-%i.log for the active file
19:42:16,012 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6cc7b4de - The date pattern is 'yyyy-MM-dd' from file name pattern 'logs/bmi-%d{yyyy-MM-dd}-%i.log'.
19:42:16,012 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6cc7b4de - Roll-over at midnight.
19:42:16,014 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6cc7b4de - Setting initial period to Mon Aug 21 19:42:16 CST 2023
19:42:16,014 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6cc7b4de - SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy instead
19:42:16,014 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6cc7b4de - For more information see http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
19:42:16,015 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
19:42:16,016 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[RollingFile] - Active log file name: logs/bmi-2023-08-21-0.log
19:42:16,016 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[RollingFile] - File property is set to [null]
19:42:16,016 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
19:42:16,016 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [Console] to Logger[ROOT]
19:42:16,017 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [RollingFile] to Logger[ROOT]
19:42:16,017 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework] to WARN
19:42:16,017 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.opensymphony] to WARN
19:42:16,017 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to WARN
19:42:16,017 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
19:42:16,017 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@32cf48b7 - Registering current configuration as safe fallback point
08-21 19:42:16.894 INFO [com.jeesite.modules.Application] - The following profiles are active: default
08-21 19:42:16.911 INFO [o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext] - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@54361a9: startup date [Mon Aug 21 19:42:16 CST 2023]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@33990a0c
08-21 19:42:18.028 INFO [o.s.b.factory.support.DefaultListableBeanFactory] - Overriding alias 'GeminiFeignClient' definition for registered name 'com.jeesite.modules.etms.gemini.client.GeminiFeignClient' with new target name 'com.jeesite.modules.etms.international.LogisticsApplyLogRemoteClient'
08-21 19:42:18.028 INFO [o.s.b.factory.support.DefaultListableBeanFactory] - Overriding alias 'GeminiFeignClient' definition for registered name 'com.jeesite.modules.etms.international.LogisticsApplyLogRemoteClient' with new target name 'com.jeesite.modules.etms.international.LogisticsRelationPlanOrderRemoteClient'
08-21 19:42:18.225 INFO [o.s.b.factory.support.DefaultListableBeanFactory] - Overriding bean definition for bean 'propertySourcesPlaceholderConfigurer' with a different definition: replacing [Root bean: class [org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=propertySourcesPlaceholderConfigurer; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/context/PropertyPlaceholderAutoConfiguration.class]] with [Root bean: class [com.jeesite.autoconfigure.core.CommonAutoConfiguration]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=propertySourcesPlaceholderConfigurer; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [com/jeesite/autoconfigure/core/CommonAutoConfiguration.class]]
08-21 19:42:18.225 INFO [o.s.b.factory.support.DefaultListableBeanFactory] - Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure; factoryMethodName=dataSource; initMethodName=init; destroyMethodName=(inferred); defined in class path resource [com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceAutoConfigure.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.jeesite.autoconfigure.core.DataSourceAutoConfiguration; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [com/jeesite/autoconfigure/core/DataSourceAutoConfiguration.class]]
08-21 19:42:18.252 ERROR [org.springframework.boot.SpringApplication] - Application run failed
java.lang.IllegalStateException: Error processing condition on com.jeesite.autoconfigure.sys.FileAutoConfiguration.fileUploadService
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:64)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:181)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:142)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:118)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:328)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:233)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:271)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:91)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:692)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:530)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1242)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1230)
at com.jeesite.modules.Application.main(Application.java:34)
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 com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:65)
Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.jeesite.autoconfigure.core.CacheAutoConfiguration] from ClassLoader [java.net.URLClassLoader@50134894]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:659)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:556)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:541)
at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:718)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:659)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:627)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1488)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1011)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:194)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:170)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:163)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.lambda$updateTypesIfNecessary$2(BeanTypeRegistry.java:150)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:148)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:114)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:265)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:254)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:196)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:116)
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47)
... 22 common frames omitted
Caused by: java.lang.NoClassDefFoundError: net/oschina/j2cache/CacheChannel
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:641)
... 42 common frames omitted
Caused by: java.lang.ClassNotFoundException: net.oschina.j2cache.CacheChannel
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
... 46 common frames omitted
08-21 19:42:18.254 INFO [o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext] - Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@54361a9: startup date [Mon Aug 21 19:42:16 CST 2023]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@33990a0c
08-21 19:42:18.255 WARN [org.springframework.boot.SpringApplication] - Unable to close ApplicationContext
java.lang.IllegalStateException: Failed to introspect Class [com.jeesite.autoconfigure.core.CacheAutoConfiguration] from ClassLoader [java.net.URLClassLoader@50134894]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:659)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:556)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:541)
at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:718)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:659)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:627)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1488)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:419)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:389)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:510)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:502)
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1196)
at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:884)
at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:870)
at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:856)
at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:805)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1242)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1230)
at com.jeesite.modules.Application.main(Application.java:34)
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 com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:65)
Caused by: java.lang.NoClassDefFoundError: net/oschina/j2cache/CacheChannel
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:641)
... 25 common frames omitted
Caused by: java.lang.ClassNotFoundException: net.oschina.j2cache.CacheChannel
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
... 29 common frames omitted
Disconnected from the target VM, address: '127.0.0.1:53666', transport: 'socket'
Process finished with exit code 1`
原因:切换Mac后的Maven仓库settings配置文件中的localRepository使用的是windows中的盘符,切换成mac下的真实路径重新导一下就好了
标签:java,19,42,springframework,maven,Mac,报错,org,logback From: https://www.cnblogs.com/xiaowan2333/p/17654978.html