• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What jar has org.springframework.util.MimeType

 
Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am getting an exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/util/MimeType
How do I configure the build path in STS?
 
Bartender
Posts: 1210
25
Android Python PHP C++ Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know which JAR has it, but I'll tell you how to find it using a tool. It's very useful for any project that has lots of confusing JAR dependencies.

The tool is JBoss's Tattletale.

It's a simple command line tool.
Once you've downloaded it, run it from a terminal: java -jar tattletale.jar <sourcedir> [<outputdir>]

<sourcedir> is where all JARs are present. They can be in any subdirectory at any level, because the tool walks the entire directory tree of <sourcedir>

<outputdir> is where a HTML report is generated. After the tool finishes, open index.html in a browser and open the "Class Location" report.
Then just search for "Mimetype" on that page to find its JAR.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic