All work

Select view

Select search mode

 

Groovy source unable to resolve class PrimaryType

Fixed

Description

If you try to run the Groovy Script source example, it fails with a missing source parameter in the requisition.properties. If you set the source to script, the myGroovySource.groovy file fails with the following error message:

Lucidchart Diagrams

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created March 30, 2015 at 4:58 AM
Updated September 30, 2015 at 6:33 AM
Resolved September 30, 2015 at 6:33 AM

Activity

Markus NeumannSeptember 30, 2015 at 6:30 AM

PRIS code uses model classes generated from the model-importer xsd.
The PrimaryType import to use ins now:
org.opennms.pris.model.PrimaryType

The myGroovySource.groovy script has a org.opennms.pris.model.* import that covers the PrimaryType import already.

Ronny TrommerMarch 30, 2015 at 5:07 AM

I tried to extend the class path to include opennms/lib and ran in the following error: