IDEA报错日志

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(*)就好了。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值