Component Example

Downloaded examples from GitHub.
Opened ComponentExample in IntelliJ usin POM, built project - no issues.

Try to run HelloWorldComponent and receive:

Exception in thread “main” java.lang.NoClassDefFoundError: com/inductiveautomation/ignition/client/model/LocaleListener

Any ideas?

Thanks for the help.

It’s probably because all the Ignition SDK dependencies have a scope of ‘provided’… you could change those to ‘compile’ while you’re playing around in the IDE and running that main method, but they need to be ‘provided’ when you actually build the module.

Thanks, I’ll try that out.