springboot打成jar包无法访问静态资源问题



    
        4.0.0
        com.rxjy
        citystore
        1.0
        
    
        
            
            
                aliyun
                http://maven.aliyun.com/nexus/content/groups/public/
            
        
    
        
            org.springframework.boot
            spring-boot-starter-parent
            2.0.3.RELEASE
        
    
        
            ${basedir}/../..
            UTF-8
            1.8
            1.8
            3.0-RC1
            3.2.0
        
    
        
            
                org.springframework.boot
                spring-boot-starter-web
            
            
                
                
            
            
                mysql
                mysql-connector-java
                compile
            
            
                com.alibaba
                druid
                1.1.10
            
            
                com.alibaba
                fastjson
                1.2.38
            
            
                org.apache.commons
                commons-lang3
                3.6
            
            
                org.projectlombok
                lombok
                true
            
            
            
                com.baomidou
                mybatis-plus-boot-starter
                ${mybatis-plus-boot-starter.version}
            
            
            
                org.springframework.boot
                spring-boot-starter-freemarker
            
      
    
        
            
            
                ${basedir}/src/main/webapp
                
                META-INF/resources
                
                    **/**
                
            
            
                ${basedir}/src/main/resources
                
                    **/**
                
            
        
    
    
            
                
                    org.springframework.boot
                    spring-boot-maven-plugin
                
            
        
    

  

转载于:https://www.cnblogs.com/mengyixin/p/9917387.html

你可能感兴趣的:(java,运维,前端)