Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | 5.6 and later |
When deploying our BE application, the deployment fails with the error:
ErrorStackTrace=com.tibco.cep.runtime.model.exception.impl.BEExceptionImpl: java.lang.NoSuchMethodError:
com.tibco.be.functions.java.util.collection.CollectionHelper.toArray(Ljava/lang/Object;)Ljava/lang/Object;
The application runs fine in a local test environment. How can we resolve this error in our deployment environment?
<plugins>
<plugin>
<groupId>com.tibco.be.maven.plugin</groupId>
<artifactId>be-maven-plugin</artifactId>
<version>5.6.0</version>
If you have since upgraded your deployment environment to use BE 6.1, for example, you can expect to see the above error in the console log. The solution would be to install the updated BE 6.1 maven plugin, and update the <version> in your pom.xml.
<be.home>/opt/jenkins/tools/tibco/be/5.6</be.home>
<be.local>C:\tibco\be\5.6</be.local>
<java.version>1.8</java.version>
This again, would be incompatible for a BE 6.1 application, since the older BE 5.6 home and Java version (1.8) are still being referenced. For BE 6.1, these should be corrected as follows:
<be.home>/opt/jenkins/tools/tibco/be/6.1</be.home>
<be.local>C:\tibco\be\6.1</be.local>
<java.version>11</java.version>