• 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

maven can't find class

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
And if I look inside the jar with jar tf tools-1.7.jar I can see 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.
Posts: 2759
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
    Bookmark Topic Watch Topic
  • New Topic