Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

java 增强导入类异常 #3479

Closed
793292556 opened this issue Mar 3, 2022 · 2 comments
Closed

java 增强导入类异常 #3479

793292556 opened this issue Mar 3, 2022 · 2 comments

Comments

@793292556
Copy link

版本号:

3.1

问题描述:

java 增强导入类异常,继承CgformEnhanceJavaImportInter后需要返回是个枚举d.class

截图&代码:

public class testimport implements CgformEnhanceJavaImportInter {
@OverRide
public d execute(String s, JSONObject jsonObject) throws BusinessException {
return null;
}
}


public enum d {
a,
b,
c;

public static d[] a() {
    return (d[])d.clone();
}

public static d a(String var0) {
    return (d)Enum.valueOf(d.class, var0);
}

private d() {
}

}


CgformEnhanceJavaImportInter

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
@zhangdaiscott
Copy link
Member

收录

@zhangdaiscott
Copy link
Member

升级jar版本号

<dependency>
  <groupId>org.jeecgframework.boot</groupId>
  <artifactId>hibernate-re</artifactId>
  <version>3.1.0-beta1</version>
</dependency>

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants