How to import third-party java class in groovy outbound processor

75 views
Skip to first unread message

Wenzhu Yin

unread,
Apr 27, 2016, 5:56:45 AM4/27/16
to SiteWhere
Hi,

Where place the third-party java jars, when I want to import a java class in groovy script?

Derek Adams

unread,
Apr 27, 2016, 8:07:12 AM4/27/16
to SiteWhere
We need to look into best practices for doing this. Previously, in the Tomcat deployment, you could add jars onto the Tomcat classpath. With the introduction of Spring Boot and embedded Tomcat, that method no longer works. We will take a look at adding a folder to the distribution so that jars in it will automatically be added to the classpath. For now, take a look at this post to see a workaround for the problem:


Thanks,
Derek

alfr

unread,
Nov 12, 2018, 10:21:04 PM11/12/18
to SiteWhere
Hi Derek,

Has this been added? 


Reply all
Reply to author
Forward
0 new messages