APPLICATION FAILED TO START
***************************
Description:
Failed to bind properties under 'mybatis.configuration' to org.apache.ibatis.session.Configuration:
Reason: No converter found capable of converting from type [java.lang.String] to type [@org.springframework.boot.context.properties.NestedConfigurationProperty org.apache.ibatis.session.Configuration]
Action:
Update your application's configuration
mybatis:
#mapper配置文件
mapper-locations: classpath:mapper/*.xml
configuration:
#开启驼峰命名
map-underscore-to-camel-case: true
我在操作图片上传的时候,configuration下面的驼峰映射map-underscore-to-camel-case: true位置
不正确,导致配置文件报错,最后也是及时发现,矫正位置,才正常运行。
java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [lkd-server,lkd-mapper] are excluded from annotation processing
依赖循环
我在server层导入mapper层依赖,mapper层还导着server层的依赖这样就造成了依赖循环。
Connected to the target VM, address: '127.0.0.1:61594', transport: 'socket'
FATAL ERROR in native method: processing of -javaagent failed
Unexpected error (103) returned by AddToSystemClassLoaderSearch
Unable to add C:\Users\����ʤ\AppData\Local\JetBrains\IntelliJIdea2021.2\captureAgent\debugger-agent.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed
Disconnected from the target VM, address: '127.0.0.1:61594', transport: 'socket'
因为路径里有无法解析的中文字段,造成了我debug无法打开。
取消勾选instrument agent(*)就好了。