Solution: Caused by: java.lang.IllegalStateException: Could not find policy 'pick_first'.

maven构建jar运行时抛的异常,通过使用shade插件打包解决。


                org.apache.maven.plugins
                maven-shade-plugin
                
                    
                        package
                        
                            shade
                        
                        
                            
                                
                                
                                
                                
                                
                                    mainClassPath
                                
                            
                        
                    
                
            

 

你可能感兴趣的:(技术积累,java,maven,jar)