Jump to content
We've recently updated our Privacy Statement, available here ×

daniel.mills

Members
  • Posts

    1
  • Joined

  • Last visited

daniel.mills's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare

Recent Badges

0

Reputation

  1. I'm running with the current latest version of the Eclipse plugin (6.15?) for community edition in Eclipse v 2019-09 I was running into a problem where I was creating duplicating the sample on https://community.jaspersoft.com/wiki/how-create-and-use-jrdatasource-adapter (how to create and use a jrdatasource adapater), but it would fail the test. Outside of removing the comments and the different project path (building it where I needed it to integrate), it was a verbatim copy-paste proof-of-concept. I would always receive a "method does not return a 'JRDataSource' object" error every time I would test the adapter. I tried creating a quick sample project and duplicated only the needed files over (data source, POM, etc) and it worked. The solution that I came across was my Eclipse project setup was not completely standard. In an effort to minimize "cross contamination" between IDE and code, I was running my setup through multiple folder locations (code in a "codespace" folder and IDE in a "workspace" folder). It appears that the program expects the Eclipse configurations to be in the same root folder as the code. When I moved the Eclipse configurations over to the same root folder (matching the quick sample) the tester passed without any errors.
×
×
  • Create New...