解决 Could not resolve placeholder 'some.var.name' in string value
来源:互联网 发布:javbus最新域名 编辑:程序博客网 时间:2024/06/05 17:07
一、环境:maven, eclipse, elipse安装了maven插件
二、问题原因:
打开部署包中的web.xml中会发现其中仍然是${some.var.name}, 但web.xml中该位置正确的形式应该是some.var.name变量对应的具体值。
三、解决办法:
1、确保eclipse中lib path等环境配置的是正确的;
2、在pom.xml文件中,执行maven的clean install命令;
3、在eclipse中选中工程,右键选中maven,右键点击“update project”菜单;
4、重新部署war包,启动web容器即可。
0 0
- 解决 Could not resolve placeholder 'some.var.name' in string value
- 解决 IllegalArgumentException: Could not resolve placeholder in string value "${XXXXXX}"
- 解决 IllegalArgumentException: Could not resolve placeholder in string value "${XXXXXX}"
- $Value{}ntException: Could not resolve placeholder 'KEY' in string value "${
- Could not resolve placeholder 'driverClassName' in string value "${driverClassName}"
- Could not resolve placeholder 'CUST_INDUSTORY' in string value "${CUST_INDUSTORY}"
- Could not resolve placeholder 'driver' in string value "${driver}"
- Could not resolve placeholder 'driverClasss' in string value "${driverClasss}"
- Could not resolve placeholder 'jdbc.driverClassName' in string value "${jdbc.driverClassName}
- Could not resolve placeholder 'master.jdbc.url' in string value "${master.jdbc.url}"
- Could not resolve placeholder 'spring.security.mapping.directory' in string value "${spring.security
- Could not resolve placeholder 'jdbc.username' in string value "${jdbc.username}"
- Could not resolve placeholder 'jdbc.url' in string value "${jdbc.url}"
- 报错Could not resolve placeholder 'jdbc.driverClassName' in string value "${jdbc.driverClassName}
- Could not resolve placeholder 'redis.pool.maxTotal' in string value "${redis.pool.maxTotal}"
- Could not resolve placeholder 'jdbc.driverClassName' in string value "${jdbc.driverClassName}错误
- 错误笔记之Could not resolve placeholder 'jdbc.driver' in string value "${jdbc.driver}"
- spring cloud config---Could not resolve placeholder 'foo' in string value "${foo}"
- cocostudio之如何制作界面布局
- ScrollView嵌套ListView的显示问题
- Maven教程初级篇02:pom.xml配置初步
- Path Sum II
- IOS 第三方库介绍
- 解决 Could not resolve placeholder 'some.var.name' in string value
- store procedure
- Maven教程初级篇03: 创建Web应用
- 对于file_get_contents的到的 数据进行代码转换
- Android 生成keystore,两种方式
- Java CRC16校验
- [spring]启动时报错:NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I
- 手写 json
- 安卓自定义带删除图标的输入框EditView