hello
To use POI in a web method, I added a jar file to the directory identified in the topic.
Currently, if i run debug using TestHarness.java, the Excel file is generated well.
However, if i run the Java service directly, an error occurs.
Please let me know what I’m missing.
I am sharing the error message below and an image of the jar file I added.
You need to import the JAR file to designer and IS seperately or you can ignore designer warnings/errors and only import to IS. There is a section in documentation dedicated for this. Where to Put Your Classes and Jar Files
Documentation makes it look like it is very complicated, but it is not. TL;DR version of the document is usually package/code/jars directory and then reload the package.
FYI, webMethods is purchased by IBM and most community members have either moved to IBM tech exchange or stopped following tech community, link is below. IBM TechXchange Community