Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/355.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 仅允许在around通知(arg 1 in)(around(extraFlags:2))中使用ProceedingJoinPoint:_Java_Spring_Aspectj - Fatal编程技术网

Java 仅允许在around通知(arg 1 in)(around(extraFlags:2))中使用ProceedingJoinPoint:

Java 仅允许在around通知(arg 1 in)(around(extraFlags:2))中使用ProceedingJoinPoint:,java,spring,aspectj,Java,Spring,Aspectj,当我使用自定义体系结构的监控组件时,我的应用程序出现问题,当我编译时,我得到以下结果: of ProceedingJoinPoint is allowed only on around advice (arg 1 in (around(extraFlags: 2): [ERROR] use of ProceedingJoinPoint is allowed only on around advice (arg 1 in (around(extraFlags: 2): (@annotation

当我使用自定义体系结构的监控组件时,我的应用程序出现问题,当我编译时,我得到以下结果:

of ProceedingJoinPoint is allowed only on around advice (arg 1 in (around(extraFlags: 2): 

[ERROR] use of ProceedingJoinPoint is allowed only on around advice
(arg 1 in (around(extraFlags: 2):
(@annotation(org.springframework.transaction.annotation.Transactional)
&&
persingleton(com.indra.xxxx4java.logaudit.aspectj.Log))->java.lang.Object
 com.indra.icore4java.logaudit.aspectj.Log.transaccionales(org.aspectj.lang.ProceedingJoinPoint,
org.springframework.transaction.annotation.Transactional)))

我不知道这意味着什么,所以我不知道该怎么办,有人能帮我解决这个糟糕的信息吗?

非常简单:
只允许在周围的建议上使用ProceedingJoinPoint
。你有什么建议?你有一个方面不是一个周围的方面,它试图使用ProceedingJoinPoint,它只是一个简单的方面如果你想要更多的细节,你必须发布代码,包括com.indra.icore4java.logaudit.aspectj.Log.transaccionales和任何你可能用来连接的配置。