标签: eclipse url resources malformedurlexception
以下代码:
URL url = new URL("platform:/resource/MyProjectName")
...抛出这个:
Exception in thread "main" java.net.MalformedURLException: unknown protocol: platform
我错过了什么?