MyBatisCodeHelper-Pro
MyBatisCodeHelper-Pro copied to clipboard
### 当前使用版本(Current Version) IntelliJ IDEA `2023.1` • Notes plugin `com.ccnode.codegenerator.MyBatisCodeHelperPro 3.1.9` ### Exception null ``` java.lang.Throwable: Do not use constructor injection (requestorClass=com.soldevelo.qaplug.scanner.AnalysisProjectProfileManager) at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202) at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:78) at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:1041) at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:36)...
### 重现步骤(Repeat steps) - 最好提供gif动图(It's best to provide a GIF) - please describe what you were doing when this exception occurred ### 当前使用版本(Current Version) IntelliJ IDEA `2023.2 EAP` • Notes...
java.lang.ClassCastException at java.base/jdk.internal.reflect.GeneratedConstructorAccessor910.newInstance(Unknown Source) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:564) at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:591) at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:672) at com.intellij.concurrency.JobLauncherImpl.processQueue(JobLauncherImpl.java:357) at com.intellij.codeInsight.daemon.impl.InspectionRunner.processInOrder(InspectionRunner.java:293) at com.intellij.codeInsight.daemon.impl.InspectionRunner.visitElements(InspectionRunner.java:268) at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$5(InspectionRunner.java:121) at com.intellij.codeInspection.InspectionEngine.withSession(InspectionEngine.java:226) at com.intellij.codeInsight.daemon.impl.InspectionRunner.inspect(InspectionRunner.java:109) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:131)...
### 重现步骤(Repeat steps) - 最好提供gif动图(It's best to provide a GIF) - please describe what you were doing when this exception occurred ### 当前使用版本(Current Version) IntelliJ IDEA `2023.1.1` • Notes plugin...
因为没有直接使用 mybatis plus 默认的 BaseMapper(自定义 inject 了一些其他方法),因为要使用 mybatis plus 的字段注解,勾选了 mybatis plus3 支持,然后生成的 Mapper 类 接口中就会同时存在 extend BaseMapper, CustomBaseMapper 的情况,建议做个优化
我的表设置了联合主键,生成的基础更新方法都是where 2个主键列 但是选择额外方法updateBatchSelective ,生成后只where了1个主键列 插件版本3.1.9 基础更新方法: updateBatchSelective方法:
com.intellij.psi.PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.source.xml.XmlTokenImpl #XML because: different providers: com.intellij.psi.SingleRootFileViewProvider{vFile=file://D:/MyProjects/IdeaProjects/JavaSE/Basic Review/chapter-09/src/cn/xjm/mybatis/mappers/TestMapper.xml, vFileId=102527, content=VirtualFileContent{size=340}, eventSystemEnabled=true}(6b522cf2); com.intellij.psi.SingleRootFileViewProvider{vFile=file://D:/MyProjects/IdeaProjects/JavaSE/Basic Review/chapter-09/src/cn/xjm/mybatis/mappers/TestMapper.xml, vFileId=102527, content=VirtualFileContent{size=340}, eventSystemEnabled=true}(b76973) invalidated at: see attachment; com.intellij.psi.impl.source.xml.XmlTokenImpl:XML_NAME / com.intellij.psi.impl.source.xml.XmlTagImpl:XML_TAG / com.intellij.psi.impl.source.xml.XmlTagImpl:XML_TAG / com.intellij.psi.impl.source.xml.XmlTagImpl:XML_TAG /...
crash
### 重现步骤(Repeat steps) - 最好提供gif动图(It's best to provide a GIF) - please describe what you were doing when this exception occurred ### 当前使用版本(Current Version) IntelliJ IDEA `2023.1` • Notes plugin...
根据用户的设置 来生成对应的配置文件