Cannot load keys from store: class path resource

简介: Cannot load keys from store: class path resource

Caused by: java.lang.IllegalStateException: Cannot load keys from store: class path resource [keystore.jks]

解决:

keystore.jks文件放在resources目录下,有在pom配置制定配置文件的路径,否则识别不到配置文件。


 

<build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>false</filtering>
                <includes>
                    <include>**/*</include>
                </includes>
            </resource>
        </resources>
        <plugins>
            <!-- 生成主类 -->
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <mainClass>com.lan.AouthApplication</mainClass>
                    <includeSystemScope>true</includeSystemScope>
                </configuration>
            </plugin>
        </plugins>
    </build>
相关文章
|
3月前
Transparent Data Encryption Data Dynamic and Data Dictionary Views You can query a set of dynamic and data dictionary views to find more information about Transparent Data Encryption (TDE) data.
Transparent Data Encryption Data Dynamic and Data Dictionary Views You can query a set of dynamic and data dictionary views to find more information about Transparent Data Encryption (TDE) data.
30 2
|
1月前
echarts 报错 —— Component series.map not exists. Load it first
echarts 报错 —— Component series.map not exists. Load it first
48 0
|
2月前
Each child in a list should have a unique “key“ prop. Check the render method的报错解决
Each child in a list should have a unique “key“ prop. Check the render method的报错解决
|
10月前
|
缓存 关系型数据库 MySQL
【异常解决】缓存报错:Null key returned for cache operation (maybe you are using named params on classes withou
【异常解决】缓存报错:Null key returned for cache operation (maybe you are using named params on classes withou
371 0
Could not initialize English chunker/Could not load file from classpath: ‘/en-token.bin‘
Could not initialize English chunker/Could not load file from classpath: ‘/en-token.bin‘
97 0
No injector for custom defined data type的解决办法
No injector for custom defined data type的解决办法
237 0
No injector for custom defined data type的解决办法
|
JSON 数据格式
Fiori Elements objectPage component creation ui JSON model creation oModel.getMetaModel().load
Fiori Elements objectPage component creation ui JSON model creation oModel.getMetaModel().load
120 0
Fiori Elements objectPage component creation ui JSON model creation oModel.getMetaModel().load
在S4 key user tool里创建Custom Logic的后台实现
在S4 key user tool里创建Custom Logic的后台实现
104 0
在S4 key user tool里创建Custom Logic的后台实现
demo4 debug - create class instance - component works as type
Created by Wang, Jerry, last modified on Feb 23, 2016
104 0
demo4 debug - create class instance - component works as type