Solved: had to upgrade the parent version in pom.xml from 1.399 to 1.450.

From: dumi_danil...@hotmail.com
To: jenkinsci-users@googlegroups.com
Subject: Plugins: cannot find package jenkins.model
Date: Thu, 2 Feb 2012 17:40:42 -0500







Hi,
I'm working on a plugin and I followed all steps at 
https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial. If I import 
classes from hudson.*, my plugin builds. However, if I import 
jenkins.model.Jenkins, I get a compile-time error: "package jenkins.model does 
not exist". Where do I get the relevant jar file from and how do I add it to my 
classpath?
Thanks!
                                                                                
  

Reply via email to