[英]cannot find class bpelBlock error in JDeveloper
I have manually made changes to the BPEL Process
. 我已经对
BPEL Process
进行了手动更改。 It was a One Way Process but I have converted it into Synchronous Process by manually adding import statements, namespaces, messages & port type. 这是一个单向流程,但是我通过手动添加导入语句,名称空间,消息和端口类型将其转换为同步流程 。
However, while compiling, JDeveloper
is giving the following error: 但是,在编译时,
JDeveloper
出现以下错误:
E:\Templates\appl\proj\SCA-INF\bpel\BPELPr~0\src\orabpel\bpelprocess\BIN0.java
Error(54,5): cannot find class bpelBlock
Error(54,24): cannot find class bpelBlock
Error(94,28): cannot find variable C0
Error(95,20): cannot find variable C0
If anyone could suggest anything, Thanks in advance! 如果有人可以提出任何建议,请先谢谢!
I did RnD and figured out the solution. 我做了RnD并找出了解决方案。 It was due to that I have changed it manually via Java code in which I used replace() method.
这是由于我已通过使用replace()方法的Java代码手动更改了它。 It replaced the occurrence of BPEL Process name everywhere including the SCA-INF folder.
它取代了包括SCA-INF文件夹在内的所有BPEL流程名称的出现。 When I compiled after changing the code, I gave me compilation error.
更改代码后进行编译时,出现编译错误。 This was because it changed the default BPELProcessBlock in SCA-INF\\bpel\\BPELPr~0\\src\\orabpel\\bpelprocess\\BIN0.java to bpelBlock.
这是因为它将SCA-INF \\ bpel \\ BPELPr〜0 \\ src \\ orabpel \\ bpelprocess \\ BIN0.java中的默认BPELProcessBlock更改为bpelBlock。 JDeveloper could not be able to find the default BPELProcessBlock and hence the error.
JDeveloper找不到默认的BPELProcessBlock,因此找不到错误。
Typically you can delete what's in SCA-INF. 通常,您可以删除SCA-INF中的内容。 I would start with doing that.
我将从这样做开始。 You may need to first exit JDeveloper.
您可能需要先退出JDeveloper。 Delete SCA-INF.
删除SCA-INF。 Open JDeveloper recompile.
打开JDeveloper重新编译。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.