Which Java version are you using? Did you have this problem before you split up the module, or did the service start in your IDE? If it worked before, I would suggest that you compare the original pom.xml file with the new one.
When the error occurred before your refactoring, we need to find the problem in you local setup. Philipp > On 7. Oct 2021, at 19:09, hrushi <[email protected]> wrote: > > Hi Philipp > > I get this error while running the main class. I have gone through this > thread but I don't know if I need to add a |log4j.xml| file here. > <https://stackoverflow.com/questions/12532339/no-appenders-could-be-found-for-loggerlog4j> > > log4j:WARN No appenders could be found for logger (org.jboss.logging). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig > for more info > > > Also few folders like the utils module is common for both the modules > (connect-adpaters && connect-adapters-iiot). I have different copies of > folder in connect-adapters and connect-adapters-iiot module. Few > protocol.stream files are also common for both the modules and I have 2 > separate copies of those files. Is this fine or do we need to remove file > duplication? > > Hrushikesh >
