Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

maven can't find class

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've inherited a huge java ws app but can't get it to compile and I’m at my wits end. Hoping you can offer some clues/ideas to get me past this hurdle…
Maven is telling me it can't find a class even though its right there in the local repo. I get the same error running in NetBeans on my windows box or using maven directly on the linux box.

Here is the pom.xml snippet that tells it where to look:

And yes, tools-1.7.jar and tools-1.7.pom are located in the local repo at
~\.m2\repository\com\sun\tools\1.7
And if I look inside the jar with jar tf tools-1.7.jar I can see class
com/sun/mirror/apt/AnnotationProcessorFactory.class
I also blew away the sun folder in my local repo and did a "Clean and Build" in NetBeans and watched the sun folder come back into my local repo, so I know the connectivity to the remote repo is good, at least on the windows box.
Any ideas why it doesn’t find it? I’ve googled endlessly with no joy.
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Googling for maven-enunciate-plugin doesn't find any documentation. It seems like this is a legacy plugin that no one is supporting.

Can you run your build with -X switch. This makes maven spit out a stack trace when there's an error. The stack trace might give you more information
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic