• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

maven can't find class

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
A day job? In an office? My worst nightmare! Comfort me tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic