English 中文(简体)
竞争者在建路之外开课,而不是在建路上课
原标题:Compiler runs class outside build path instead of class inside build path

I m 编制一个使用一系列平行项目的java申请。 在其中一个项目中,我有一个层次,即实施接口。 然而,一个问题是,这类人似乎以两种方式代表,既作为建筑道路中的一个阶级,又作为建筑道路之外的一类。

在Eclipse中,我可以把这门课程作为一张标语,一个是“装在J”的表格,一个是“空洞”。 这对我来说是一个问题,我不关心这个问题,但事实是,汇编者似乎总是以“不福利-参与”的转化方式管理这一类别。 当我 de笑时,挖尸首总是站在建筑道路外的班子上。 造成错误和申请坠毁。

I have no idea how I should solve it. In my understanding this shouldn t even be a problem, the compiler should always run classes inside the build path, right..?

是否有任何人认为问题是什么?

在这方面,尽管我不认为它会得到很大利用......=

Caused by: java.lang.NullPointerException: null
    at com.smarttrust.m2m.core.services.inventory.InventoryServiceImpl.getNetworks(InventoryServiceImpl.java:244) ~[m2m-core-services-1.0.0-A-SNAPSHOT.jar:1.0.0-A-SNAPSHOT]
    at com.smarttrust.m2m.ui.admin.inventory.InventoryAssignSubscription.populateDropdown(InventoryAssignSubscription.java:211) ~[classes/:na]
    at com.smarttrust.m2m.ui.admin.inventory.InventoryAssignSubscription.init(InventoryAssignSubscription.java:115) ~[classes/:na]
    at com.smarttrust.m2m.ui.admin.inventory.InventorySimCardTable$ActionColumnGenerator$1.buttonClick(InventorySimCardTable.java:352) ~[classes/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
    at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
    at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490) ~[vaadin-6.6.3.jar:6.6.3]
    ... 23 common frames omitted
问题回答

Go to project build path, in Order and Export tab. you see all source codes which is related to your project, You should move up the class that is right (as you say the one which is in build path)





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签