mpatric / mp3agic

A java library for reading mp3 files and reading / manipulating the ID3 tags (ID3v1 and ID3v2.2 through ID3v2.4).
MIT License
1.2k stars 310 forks source link

SpringBoot - Application returns 404 Not Found when started in debug mode #160

Open vinokanth92 opened 5 years ago

vinokanth92 commented 5 years ago

I am experiencing a weird situation where I am not able to get the spring boot application working in Debug mode. The same application responds correctly when started in normal mode. This behaviour is only observed when I am adding this library as an external dependency in my build.gradle file.

My IDE is IntelliJ

What I have tried so far:

Gradle entry
compile "com.mpatric:mp3agic:0.9.1"

I can see the application starts correctly from the logs and listening on port 8080. When I make the API call there is no entry in the logs.

hennr commented 5 years ago

Hello @vinokanth92 ,

I can think of this option to be the problem: https://github.com/mpatric/mp3agic/blob/master/pom.xml#L62

It tells the compiler plugin to not include debugging symbols. Could you build and install mp3agic, with this option set to true, locally and debug your application with that local version please?