最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

codenameone - Cannot run Simulator in Eclipse: Variable references non-existent resource - Stack Overflow

programmeradmin1浏览0评论

I have tried to start CN1 in Eclipse. I loaded the initialzr file and selected Eclipse as IDE. I left the default values as they are because I just want to test how it works. So my package is called com.example.myapp and the main class is called MyApp. I unzipped the .zip file and loaded it into Eclipse as a new project. Then I tried to execute the file "Run Simulate.launch", but I get the following error:

Variable references non-existent resource : ${project_loc:myapp}

I have tried to start CN1 in Eclipse. I loaded the initialzr file and selected Eclipse as IDE. I left the default values as they are because I just want to test how it works. So my package is called com.example.myapp and the main class is called MyApp. I unzipped the .zip file and loaded it into Eclipse as a new project. Then I tried to execute the file "Run Simulate.launch", but I get the following error:

Variable references non-existent resource : ${project_loc:myapp}

Share Improve this question edited Jan 19 at 14:54 mkrieger1 23.2k7 gold badges63 silver badges79 bronze badges asked Jan 19 at 14:50 BenBen 214 bronze badges 1
  • If you select the root folder and selected eclipse from the options it should work just fine and expose the commands within the IDE. See the maven developers guide, notice you can toggle it to Eclipse mode and it will show all the screenshots as eclipse screenshots. – Shai Almog Commented Jan 20 at 2:15
Add a comment  | 

1 Answer 1

Reset to default 1

I was able to find the error myself. When importing, I added the parent folder “MyApp”. Now I have used the “myapp” folder within it. This solved the problem.

发布评论

评论列表(0)

  1. 暂无评论