I keep running into a classpath error when trying to build my JIRA plugin. The exact message says something about not being able to get the classpath for JIRA. I’m working on Ubuntu with Eclipse Galileo 3.3, Maven2, and the Atlassian Plugin SDK beta 6. Has anyone encountered this issue before? I’m not sure what’s causing this problem or how to fix it. The compilation process starts fine but then crashes with this classpath error. Any ideas on what might be wrong with my setup or configuration?
This classpath issue usually happens when Maven can’t resolve JIRA dependencies during the build. I’ve hit this before with Atlassian SDK beta versions. It’s often caused by incomplete Maven repository config or conflicting dependency versions in your pom.xml. Try mvn clean compile from the command line outside Eclipse and see if it still breaks. If it works there but fails in Eclipse, refresh your Maven project dependencies in Eclipse or check that your IDE’s using the right Maven installation. Also make sure your ATLAS_HOME environment variable is set correctly and the Atlassian repository is configured properly in your Maven settings. The beta SDK versions were really picky about these config issues.
I hit this exact problem with older SDK versions on Ubuntu. It’s usually permissions or path issues with your Eclipse setup. Make sure your workspace has write permissions and Eclipse is using the same JDK version as your Maven config. Those Atlassian SDK beta versions were notorious for breaking with certain Java versions or when your workspace was in a restricted folder. Try creating a new workspace in your home directory and importing the project there. Also helped me to export M2_HOME properly in my .bashrc and verify Eclipse could actually see it. The beta SDK was pretty buggy - these environment headaches were super common.
beta 6 was a mess - had the same problems. try downgrading ur sdk or updating to smthing newer if u can. also check if ur maven repo got corrupted. delete the .m2/repository folder and let maven redownload everything. that’s what fixed my classpath issues.