警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:项目名' did not find a matching property
启动tomcat后出现红色 警告
因为server.xml的 Context元素不支持名称为source的属性,所以会发出警告。
解决办法:关闭tomcat,双击eclipse下tomcat服务器,在出来的Tomcat server at localhost页面中找到server options选项,选中其中的选项”Publish modual contexts to separat XML files“,ctr+s,启动tomcat。
相关推荐
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:TestTomcat6.0.16' did not find a matching property. ``` 此外,还会收到关于Apache...
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property'source'to'org.eclipse.jst.j2ee.server:mavenWeb'did not find a matching property. ``` - 双击新添加的Server,进入配置界面。 -...
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:jwgl' did not find a matching property. 3月 17, 2019 10:51:41 上午 org.apache....
The pxf.impersonation.jdbc property setting in the jdbc-site.xml file. You can use the pxf.service.user.impersonation property to configure user impersonation for a new JDBC server configuration. ...
@PropertySource("classpath:db.properties") public class DatabaseConfig { @Autowired private Environment env; @Bean public DataSource dataSource() { // 配置数据源,如Apache Commons DBCP或HikariCP...
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:autofactory' did not find a matching property. 九月 18, 2013 11:39:02 上午 org...
25.2. Programmatically Setting Profiles 25.3. Profile-specific Configuration Files 26. Logging 26.1. Log Format 26.2. Console Output 26.2.1. Color-coded Output 26.3. File Output 26.4. Log Levels 26.5....