Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

org.springframework.transaction.annotation.Transactional #447

Open
Iceman2007 opened this issue Mar 14, 2023 · 0 comments
Open

org.springframework.transaction.annotation.Transactional #447

Iceman2007 opened this issue Mar 14, 2023 · 0 comments

Comments

@Iceman2007
Copy link

AnnotationsAttribute.addAnnotation();
org.springframework.transaction.annotation.Transactional
@target({ElementType.METHOD, ElementType.TYPE})
@retention(RetentionPolicy.RUNTIME)
@inherited
@documented
public @interface Transactional {
@AliasFor("transactionManager")
String value() default "";
@AliasFor("value")
String transactionManager() default "";
Propagation propagation() default Propagation.REQUIRED;
Isolation isolation() default Isolation.DEFAULT;
int timeout() default -1;
boolean readOnly() default false;
Class<? extends Throwable>[] rollbackFor() default {};
String[] rollbackForClassName() default {};
Class<? extends Throwable>[] noRollbackFor() default {};
String[] noRollbackForClassName() default {};
}
timeout is error

java.lang.ClassCastException: javassist.bytecode.Utf8Info cannot be cast to javassist.bytecode.IntegerInfo
at javassist.bytecode.ConstPool.getIntegerInfo(ConstPool.java:614) ~[javassist-3.29.2-GA.jar:na]
at javassist.bytecode.annotation.IntegerMemberValue.getValue(IntegerMemberValue.java:83) ~[javassist-3.29.2-GA.jar:na]
at javassist.bytecode.annotation.IntegerMemberValue.write(IntegerMemberValue.java:106) ~[javassist-3.29.2-GA.jar:na]
at javassist.bytecode.annotation.Annotation.write(Annotation.java:318) ~[javassist-3.29.2-GA.jar:na]
at javassist.bytecode.AnnotationsAttribute.setAnnotations(AnnotationsAttribute.java:291) ~[javassist-3.29.2-GA.jar:na]
at javassist.bytecode.AnnotationsAttribute.addAnnotation(AnnotationsAttribute.java:230) ~[javassist-3.29.2-GA.jar:na]
at cn.yuyizyk.compent.SrcActionAnalysis.lambda$null$2(SrcActionAnalysis.java:258) ~[classes/:na]

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

No branches or pull requests

1 participant