English 中文(简体)
java.io.FileNotFoundException - Support need
原标题:java.io.FileNotFoundException - Support needed

I m 使用净豆7.0。 我完成了一个项目,在建设项目之后,我建筑失败,下面是错误细节:

------
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
deps-jar:
deps-j2ee-archive:

C:Documents and SettingsUserDesktoposing
bprojectuild-impl.xml:210: The following error occurred while executing this line:

java.io.FileNotFoundException: C:UsershelenWORKSPACEJavaosingosing-ejbuild.xml (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:278)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:178)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:393)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 0 seconds)

请允许我告诉我,我如何能够解决这个问题,以便建设项目。

问题回答

This file C:UsershelenWORKSPACEJavaosingosing-ejbuild.xml does not exist in your system. Analyzing this path as well as the path to your build-impl.xml C:Documents and SettingsUserDesktoposing bprojectuild-impl.xml I can say that probably you copied this project from other user. Your user name is osing. You copied it from user helen.

但是,出于某种原因,该项目含有在你的系统中不存在的绝对道路。 如果我的假设是正确的,那么首先将建设xml的道路固定在建-丁-xml,并使项目汇编起来。 然后利用环境变量或/和relative途径确定项目,以便其他用户能够在不改动的情况下使用该项目。

它寻找这一档案,但未能找到:C:UsershelenWORKSPACEJavaosing-ejbuild.xml

如果不知道如何建立你的项目,我可以告诉你。

check file build.xml is present on the path
C:UsershelenWORKSPACEJavaosingosing-ejbuild.xml

我认为,具体来说,这一途径是不正确的。





相关问题
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 ...

热门标签