I am trying to add babelnet api to my project I add the main jar to.m2/repository and the using the pom inside that jar I called all the jars that they need to run their project. The problem is that the babelnet has a config folder where they define the enums, when I try to run the program I get an error involving the enums.
java.lang.NoClassDefFoundError: com/babelscape/util/POS
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: com.babelscape.util.POS
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more
How can I add the config files (they are properties extension files) to my project so I can run without error. The babelnet api doesn't have the support for the maven project (can't add it to the pom). Thanks for the help