classNotFoundException Custom Method
I downloaded the Date Formatter class which was part of the Adeptia Support Note titled "Date formatting for valid or invalid input dates". It was named dateformatter_670.class. I placed it in ServerKernel/customClasses as instructed. Then I created a custom Method with class name "DateFormatter" and method "processDateFormat" with 4 parameters. However I can't seem to get it to work. I've even tried renaming the class to DateFormatter.class, as well as placing it in the /Ext directory. Nothing seems to work.
Whether named dateformatter_670.class or DateFormatter.class, the Data Mapper debugger always gives me this message: javax.xml.transform.TransformerException: java.lang.ClassNotFoundException: DateFormatter
-
Ok, found out the problem is that the debugger was set to run in desktop and not server. Since we were running on the actual server we didn't think this was an issue, but it was. Setting it to run as server allowed the Class to be recognize.
http://support.adeptia.com/entries/21281558-when-to-use-run-on-server-in-mapper-s-debugger
0
Please sign in to leave a comment.
Comments
1 comment