今天在调代码的时候遇到了一个异常: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet - 致命错误: "无法变异样式表", 从网上找到了解决方案, 下面贴出来以备后用.
问题的出现是因为JDK自带的XALAN是阉割版的,很多功能没有,比如JAVA类型的方法调用。怎...
分类:
编程语言 时间:
2014-08-17 13:06:12
阅读次数:
217
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{*****Activity}: java.lang.ClassNotFoundException: Didn't find class "***...
分类:
移动开发 时间:
2014-08-17 02:19:11
阅读次数:
201
最近需要用到分词,无聊写个算法。。。算法:给定一个字典和一句话,做分词;Target:输入词典,输出所有可能的分词结果思路:dfs加速:首先判断是不是这句话里所有的词在字典中都有(validate)//
// Wordsplit.cpp
//
// Target: Find all possible splitting of a sentence given a dictionary di...
分类:
其他好文 时间:
2014-08-16 23:50:11
阅读次数:
314
1、题目链接地址 http://poj.org/problem?id=11612、源代码#include using namespace std;int parent[30001];int suspect[30001]; int find(int x){ if(parent[x] == x) ...
分类:
其他好文 时间:
2014-08-16 23:37:01
阅读次数:
181
Description
Find Solutions
Look at the following equation:
c = ab - + 1
Now given the value of c, how many possible values of and
a and b are there (a and
b must be ...
分类:
其他好文 时间:
2014-08-16 22:33:01
阅读次数:
287
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree and sum ...
分类:
其他好文 时间:
2014-08-16 22:24:21
阅读次数:
212
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example, S = "ADOBECOD...
Linux 命令大全
Linux 命令大全
1、文件管理
cat
chattr
chgrp
chmod
chown
cksum
cmp
diff
diffstat
file
find
git
gitview
indent
cut
ln
...
分类:
系统相关 时间:
2014-08-16 18:34:21
阅读次数:
547
环境:web服务器:ip:192.168.1.32 ,安装有Visual Studio Premium 2013操作系统: Microsoft Server 2008 r2+sp1数据库服务器:ip:192.168.1.33,安装有Microsoft SQL Server 2012操作系统: Mic...
分类:
数据库 时间:
2014-08-16 18:29:40
阅读次数:
452
原地址:http://blog.csdn.net/alking_sun/article/details/36175861在进行移动MM集成的时候总是会遇到一个bug:failed to find resource file(mmiap.xml}原因是:为Unity打包的时候和原生Android工程不...
分类:
移动开发 时间:
2014-08-16 18:18:00
阅读次数:
208