No configuration setting found for key 'akka.version'

后端 未结 5 1789

I am learning akka-remoting and this is how my project looks

The project structure looks like

project/pom.xml
project/mymodule/pom.xml
project/mymo         


        
5条回答
  •  死守一世寂寞
    2020-11-30 06:55

    I tried this plugin, it is great but leads to another error due to some signed jars. Here is the error:

    Error: A JNI error has occurred, please check your installation and try again
    Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
    

    What I would suggest you to use is the spring boot maven plugin. Just add it to your build and enjoy seamless runnable jars. This is one good reason why I love Spring framework.

    
        org.springframework.boot
        spring-boot-maven-plugin
        
            
                
                    repackage
                
                
                    final
                    
                        com.main.PopularHashTags
                    
                
            
        
    
    

    Note: You don't need to have a Spring Boot application to use this plugin. Just use it in any application and it works as a charm.

提交回复
热议问题