{"action":"created","issue":{"url":"https://api.github.com/repos/foxinmy/weixin4j/issues/33","repository_url":"https://api.github.com/repos/foxinmy/weixin4j","labels_url":"https://api.github.com/repos/foxinmy/weixin4j/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/foxinmy/weixin4j/issues/33/comments","events_url":"https://api.github.com/repos/foxinmy/weixin4j/issues/33/events","html_url":"https://github.com/foxinmy/weixin4j/issues/33","id":134253235,"number":33,"title":"server在windows环境下无法正确扫描到包下的class","user":{"login":"n59yl","id":5900900,"avatar_url":"https://avatars.githubusercontent.com/u/5900900?v=3","gravatar_id":"","url":"https://api.github.com/users/n59yl","html_url":"https://github.com/n59yl","followers_url":"https://api.github.com/users/n59yl/followers","following_url":"https://api.github.com/users/n59yl/following{/other_user}","gists_url":"https://api.github.com/users/n59yl/gists{/gist_id}","starred_url":"https://api.github.com/users/n59yl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n59yl/subscriptions","organizations_url":"https://api.github.com/users/n59yl/orgs","repos_url":"https://api.github.com/users/n59yl/repos","events_url":"https://api.github.com/users/n59yl/events{/privacy}","received_events_url":"https://api.github.com/users/n59yl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-17T11:19:58Z","updated_at":"2016-02-17T11:38:07Z","closed_at":null,"body":"ClassUtil!getClasses里用了url \r\nfullPath.getPath() 是 file:/C:/Users/Administrator/workspace1/weixin4j-server/target/classes/com%5cfoxinmy%5cweixin4j%5cqy%5cevent\r\nnew File()不认啊.."},"comment":{"url":"https://api.github.com/repos/foxinmy/weixin4j/issues/comments/185164570","html_url":"https://github.com/foxinmy/weixin4j/issues/33#issuecomment-185164570","issue_url":"https://api.github.com/repos/foxinmy/weixin4j/issues/33","id":185164570,"user":{"login":"n59yl","id":5900900,"avatar_url":"https://avatars.githubusercontent.com/u/5900900?v=3","gravatar_id":"","url":"https://api.github.com/users/n59yl","html_url":"https://github.com/n59yl","followers_url":"https://api.github.com/users/n59yl/followers","following_url":"https://api.github.com/users/n59yl/following{/other_user}","gists_url":"https://api.github.com/users/n59yl/gists{/gist_id}","starred_url":"https://api.github.com/users/n59yl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n59yl/subscriptions","organizations_url":"https://api.github.com/users/n59yl/orgs","repos_url":"https://api.github.com/users/n59yl/repos","events_url":"https://api.github.com/users/n59yl/events{/privacy}","received_events_url":"https://api.github.com/users/n59yl/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T11:38:07Z","updated_at":"2016-02-17T11:38:07Z","body":"然后还有 \r\n\t\tString packageFileName = packageName.replace(\".\", File.separator);\r\n\r\n这句把包名的.换成了/(win下)\r\n\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tclasses.add(Class.forName(packageName + \".\"\r\n\t\t\t\t\t\t\t\t+ file.getName().replace(\".class\", \"\")));\r\n\t\t\t\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t\t\t\t;\r\n\t\t\t\t\t}\r\n这句就用不了了..要把 \"/\" 换回\".\"来\r\n\r\n\r\n反正都不是什么大问题.\r\n到linux估计就好了吧(雾).\r\n就是在win下测试有点麻烦"}}