Please help... "com/automationanywhere/commandsdk/i18n/MessagesFactory:

  • 15 February 2022
  • 6 replies

I created one custom package and it is working fine by testing the code using test class in IntellJ. When i am using the .jar file in AutomationAnywhere.then i am getting this error. Can someone please help me on this.



at Source) [?:?]

Caused by: java.lang.ClassNotFoundException: com.automationanywhere.commandsdk.i18n.MessagesFactory

6 replies

Check the version of java.
Userlevel 2
Badge +8

Hello! I have the same problem!!Once package is built I test it and get the same error...





Check the Java SDK version installed on your machine and the version selected in IntelliJ. Both version should be same.

Sent from Mail<>for Windows
Userlevel 2
Badge +8

You mean Java JDK?? I have version 11 installed, could you please tell me how did you solve it?

Userlevel 2
Badge +8

image.pngI have just installed java sdk version 11 and set it there, am I missing something else? Thank you

Userlevel 2
Badge +8

I was using gradle clean build instead of gradle build clean shadowJar, so the .jar file was not correct. Once I have built it with gradle built clean shadowJar all worked