I successfully made jar library from maven project(simple Hello World text using nanoHTTPD), but I need to import it into Java project so when main class is executed, automatically it starts the Web Server. It does not work that whey when i import the library, only when i have both of projects in my Eclipse and i import entire maven project in my Java Build Path of project.
To be more specific, my project is working with cash drawer and printer, and its creating log file(that is going to be uploaded on web server, that is why I need this). I want to start both things with one main (actually my project manager does).