Skip to main content
Question

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

  • February 15, 2022
  • 6 replies
  • 279 views

Forum|alt.badge.img+3

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.

 

Log-

at java.lang.Thread.run(Unknown Source) [?:?]

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

Forum|alt.badge.img+3
Check the version of java.

Andoni_1
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • May 5, 2022

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

 

com/automationanywhere/commandsdk/i18n/MessagesFactory

 

 


Forum|alt.badge.img+3
Check the Java SDK version installed on your machine and the version selected in IntelliJ. Both version should be same. Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986>for Windows

Andoni_1
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • May 5, 2022

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


Andoni_1
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • May 5, 2022

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


Andoni_1
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • May 6, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings