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>
相关文章
|
5月前
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.
52 2
|
4月前
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的报错解决
|
缓存 关系型数据库 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
563 0
Target class [Admin\LoginController] does not exist.
Laravel 8配置好路由后,访问提示:Target class [XXXXXController] does not exist.错误。出现这个错误的原因是Laravel8对路由命名空间做出了更新(详见:路由命名空间更新),而我们仍然在使用Laravel6或者7版本的方式写路由。 Laravel 8路由配置方式: use App\Http\Controllers\LoginController; Route::get('login', [LoginController::class, 'index']);
No injector for custom defined data type的解决办法
No injector for custom defined data type的解决办法
248 0
No injector for custom defined data type的解决办法
callbackend entry point - iwfndcl_mgw_request_manager~read_entity
007. callbackend entry point - /iwfnd/cl_mgw_request_manager~read_entity Created by Wang, Jerry, last modified on Jan 06, 2015
callbackend entry point - iwfndcl_mgw_request_manager~read_entity
|
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
127 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的后台实现
112 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
111 0
demo4 debug - create class instance - component works as type