Yes, I just resolved this. The problem accused by the dependency of structs.

On Tue, Aug 21, 2018 at 10:19 PM Jesse Glick <[email protected]> wrote:

> On Tue, Aug 21, 2018 at 3:59 AM Rick <[email protected]> wrote:
> > When I run the JUnit test, got an errors, like this:
> >
> > java.lang.IllegalAccessError: tried to access method
> org.jenkinsci.plugins.structs.describable.DescribableModel.of(Ljava/lang/Class;)Lorg/jenkinsci/plugins/structs/describable/DescribableModel;
> from class org.jenkinsci.plugins.workflow.cps.DSL
> > at org.jenkinsci.plugins.workflow.cps.DSL.parseArgs(DSL.java:460)
>
> Most likely you are using mismatched plugin versions, typically
> visible (when using reasonably recent versions of Jenkins) by some
> earlier warnings about some plugins being unloadable for dependency
> reasons. If your parent POM is set to a reasonably recent version, you
> should get a more straightforward build error much earlier, in the
> `validate` phase.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0PcqeQYAN-6yjUxas1WYHDy%3Di4tOMj7vFRaiqsviUFNg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAMM7nTHdULK7rDcmq5DtoG0OG8xUn6Obbg7f3%2B%2BU2eSjg1V%2B0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to