After you build a java class depending on the Lucene library , And call this class of processes element "Script" inside processes It does not work and shows me the following error
But when the class is called from a normal Java file <call in="" main="" method=""> Works without any problem What caused this problem and how it can be solved ? asked 13.12.2018 at 09:38 Wawashra |
You should add the Lucene libs as normal libraries into your project. E.g. like this: https://answers.axonivy.com/questions/2089/add-library-with-pom-xml
answered 14.12.2018 at 04:36 Reguel Werme... ♦♦ I suppose that he has to use exactly the same version as we use it in the core with 7.0.x Because lucene libraries are part of the ivy class path container. We removed those libraries from ivy class path container with ivy 7.1. See migration notes: https://developer.axonivy.com/releases/ivy/latest/documents/doc/migrationNotes/MigrationNotes.html
(14.12.2018 at 04:59)
Alex Suter ♦♦
Good point @Alex Suter, I forgot about the different situation on 7.0. This gives you another option @Wawashra. Just migrate to a leading edge engine (7.2.1) and are free to use any Lucene library version without the need to be compliant with our core...
(17.12.2018 at 03:09)
Reguel Werme... ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 13.12.2018 at 09:38
Seen: 1,334 times
Last updated: 17.12.2018 at 03:09
Which version of ivy do you use?
AxonIvy7.0.2 thanks
how do you provide the libraries to your project? using your own libs via maven? or are accessing our internals? ...an example would help.
by add jar file to this folder “PROJECT_NAME\webContent\WEB-INF\lib”, or used the default library in this path “AxonIvy7.0.2\configuration\org.eclipse.osgi\5\0.cp\lib\mvn” .