some of the properties associated with the solution could not be read解决方法

基于TFS管理的解决方案打开时提示:“some of the properties associated with the solution could not be read”,并不影响项目加载,Output Window也没有多余提示。用记事本打开解决方案文件,查找“GlobalSection(TeamFoundationVersionControl)”,你会发现多处定义,只保留最顶部,删除重复定义。

时间: 2024-08-09 06:35:04

some of the properties associated with the solution could not be read解决方法的相关文章

Java读取properties配置文件时,中文乱码解决方法

碰到了用java.util.Properties读取中文内容(UTF-8格式)的配置文件,发生中文乱码的现象 Properties prop=new Properties(); prop.load(Client.class.getClassLoader().getResourceAsStream("config.properties")); 由于使用这样的加载方式使用了系统默认的编码格式,不是UTF-8格式的读取模式,就会发生乱码情况. 正确解决方法 Properties prop=n

maven打war包注意之xml、properties文件没打进去解决方法

maven项目在ide中编译出的war包一般不会有很多问题. 但是经过集成环境打war包会出现war包中打不进xml.properties等文件.这样打war包不会报错,但是war包放进tomcat中部署就报错了. 解决方法是将src/main/java和src/main/resources中的配置文件在pom的build节点配置进去 之前在项目的集成中有遇到这种情况,记录下来. 例如:src/main/java中有个包放hibernate的映射xml,和sqlmap配置文件.        

30. Child Labor Problem and Its Solution 童工问题及解决方法

30. Child Labor Problem and Its Solution 童工问题及解决方法 ① Over a hundred years ago,Charles Dickens shocked many of his readers when he described the conditions under which young children worked in British factories.The conditions Dickens described continu

错误/异常:java.io.FileNotFoundException: .\src\db.properties (系统找不到指定的路径。);的解决方法

1.异常视图 2.解决方法 与之相关的部分代码: 1 static{ 2 try { 3 //读取db.properties 4 Properties props = new Properties(); 5 FileInputStream in = new FileInputStream("./src/db.properties"); 6 //加载文件 7 props.load(in); 8 url = props.getProperty("url"); 9 use

Java读properties文件中文乱码问题的解决方法

java读properties文件,包含中文字符的主要有两种: 1.key中包含中文字符的(value中也有可能包含) 2.key中不包含中文字符的(value中有可能包含) 1.key中包含中文字符 可以使用java自带工具native2ascii.exe(Java\jdk1.x.x\bin\native2ascii.exe),转换文件编码格式 示例: native2ascii -encoding 8859_1 c:\a.properties c:\b.properties 即将 c:\a.p

Eclipse的properties文件中文乱码解决方法

转自:http://jingyan.baidu.com/article/ed2a5d1f3381d709f6be17f8.html 打开Myeclipse,找到window这一栏,点击Preference 2 然后会弹出一个窗体,点击General展开选项,然后点击Content Types 3 在右边的窗口中点击Text展开,然后点击java Properties File 4 将下面的编码格式设置成UTF-8就能解决java Web项目文件中的config.properties文件中文乱码的

[JAVA开发]Properties读取中文乱码解决方法

1 确认工程的统一编码. 例如UTF-8 , project->properties->text file encoding 选择  UTF-8 2 JSP统一编码. 打开JSP文件: 以下都是要关注的地方. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> response.setCharacter

Spring获取properties中同一个key对应的多条value的方法

如下方式使用Spring EL @Value("#{'${my.list.of.strings}'.split(',')}") private List<String> myList; 然后在.properties中这样配置 my.list.of.strings=A , B , C , D

SharePoint 2010升级到sharePoint 2013后,人员失去对网站的权限的原因及解决方法。The reason and solution for permission lost after the upgrading

昨天碰到了一个问题,一个网站在从SharePoint 2010升级到SharePoint 2013后,人员都不能登录了,必须重加赋权,人员才能登录,这样非常麻烦. 原因:是认证方式的问题.在SharePoint 2010中,通过管理中心新建web application的时候,就会发现提供了两种不同的认证方式,第一种是classic auth(也就是我们通俗的称为windows 认证,其实这种叫法也不全面),另一种是claim base auth. 而当时claim base的认证方式微软还没有