NetBeans部署项目(Extjs)报错(一)

NetBeans部署项目(Extjs)报错(一)


1、用NetBeans将项目部署到Tomcat中,报错。

具体如下:

ant -f D:\\NetBeans\\workspace\\FoundationDatabase -Dbrowser.context=D:\\NetBeans\\workspace\\FoundationDatabase -DforceRedeploy=false -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true -Dnb.internal.action.name=run run
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir: D:\NetBeans\workspace\FoundationDatabase\build\web\WEB-INF\classes
Copying 4362 files to D:\NetBeans\workspace\FoundationDatabase\build\web
Copied 255 empty directories to 5 empty directories under D:\NetBeans\workspace\FoundationDatabase\build\web
library-inclusion-in-archive:
library-inclusion-in-manifest:
Created dir: D:\NetBeans\workspace\FoundationDatabase\build\empty
Created dir: D:\NetBeans\workspace\FoundationDatabase\build\generated-sources\ap-source-output
compile:
compile-jsps:
正在启动 Tomcat 进程...
正在等待 Tomcat...
Tomcat 服务器已启动。
就地在D:\NetBeans\workspace\FoundationDatabase\build\web中部署
正在部署...
deploy?config=file%3A%2FC%3A%2FUsers%2FADMINI%7E1.FOX%2FAppData%2FLocal%2FTemp%2Fcontext4085808419366812118.xml&path=/FoundationDatabase
FAIL - Deployed application at context path /FoundationDatabase but context failed to start
D:\NetBeans\workspace\FoundationDatabase\nbproject\build-impl.xml:1156: 尚未部署该模块。
有关详细信息, 请查看服务器日志。
构建失败 (总时间: 4 分钟 55 秒)

2、日志文件




    
    
        
            
                
            
        
    
    
    
    
        
        
    
    
        
    
    
        
        
        
        
        
    
    
        
    
    
    
        
            
                
            
        
        
            
                
            
        
        
            
                
                
            
        
        
            
        
        
        
            
                
            
        
        
            
                
            
        
        
        
            
        
        
            
                
                    
                
                
                
                    
                        
                    
                    
                        
                    
                
            
        
        
            
        
        
            
        
        
            
                
                
                    
                
                
                    
                
            
        
        
            
                
                
                    
                
                
            
        
        
        
        
            
        
        
            
                
            
        
        
            
                
                
                    
                    
                
            
        
        
            
                
                    
                
                
                    
                    
                
            
        
        
            
                
                
            
        
        
        
            
                
                
                    
                
            
        
        
        
            
                
                
                    
                
            
        
        
        
        
        
        
        
            
                
                
            
        
        
            
                
                
                    
                
            
        
        
        
            
                
                
            
        
        
            
        
        
            
                
                
            
        
        
            
        
        
            
        
    
    
        
            
                
                
            
        
    
    
        
        
    
    
        Must set src.src.dir
        Must set test.src.dir
        Must set build.dir
        Must set build.web.dir
        Must set build.generated.dir
        Must set dist.dir
        Must set build.classes.dir
        Must set dist.javadoc.dir
        Must set build.test.classes.dir
        Must set build.test.results.dir
        Must set build.classes.excludes
        Must set dist.war
        
            
                
                
                    
                
            
        
        
The Java EE server classpath is not correctly set up - server home directory is missing.
Either open the project in the IDE and assign the server or setup the server classpath manually.
For example like this:
   ant -Dj2ee.server.home=
                
        
The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}.
Either open the project in the IDE and assign the server or setup the server classpath manually.
For example like this:
   ant -Duser.properties.file= (where you put the property "j2ee.platform.classpath" in a .properties file)
or ant -Dj2ee.platform.classpath= (where no properties file is used)
                
    
    
        
            
            
            
                
            
        
    
    
        
            
            
            
            
            
            
            
            
            
            
            
                
                
                
                
                    
                        
                            
                        
                    
                    
                        
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                
            
        
    
    
        
            
            
            
            
            
            
            
            
            
            
            
                
                
                
                    
                        
                            
                        
                    
                    
                        
                    
                    
                    
                    
                
            
        
    
    
        
            
            
            
            
                
                    
                        
                    
                
            
        
        
            
            
                Must set javac.includes
                
                    
                        
                    
                    
                
                
                
                
                    
                
                
            
        
    
    
        
            
                
                
                    
                
            
        
        
            
                
                
            
        
    
    
        
        
        
    
    
        
            
            
            
            
            
            
                
                    
                    
                        
                        
                    
                    
                    
                    
                    
                
            
        
    
    
        
            
            
            
            
            
            
                
                
                    
                        
                            
                        
                        
                            
                        
                    
                    
                        
                        
                    
                    
                    
                    
                    
                    
                
            
        
    
    
    
        
            
            
            
            
            
            
                
                    
                
                
                    
                        
                    
                
                
                
                    
                    
                        
                        
                    
                    
                
            
        
    
    
        
            
            
            
            
            
            
                No tests executed.
            
        
    
    
        
            
            
            
            
            
            
                
                    
                
            
        
    
    
        
            
            
            
            
            
            
                
                    
                
            
        
    
    
        
            
            
            
            
            
                
                    
                        
                            
                        
                        
                        
                    
                
            
        
    
    
        
            
            
            
            
            
            
                
                    
                    
                        
                        
                    
                    
                    
                    
                    
                    
                    
                
            
        
    
    
        
            
            
            
            
            
            
                
                
                    
                        
                            
                        
                        
                            
                        
                    
                    
                        
                        
                    
                    
                    
                    
                    
                    
                    
                    
                
            
        
    
    
        
            
            
            
            
            
            
                
                    
                
            
        
    
    
        
            
            
            
            
                
                    
                
                
                    
                
                
                
                
                    
                        
                        
                        
                        
                        
                    
                
            
        
    
    
        
            
            
            
            
                
                    
                
            
        
    
    
        
            
            
            
            
            
            
            
                
                    
                        
                            
                        
                        
                        
                    
                
            
        
    
    
        
            
            
            
            
            
            
            
                
                    
                        
                            
                            
                        
                    
                
            
        
    
    
    
        
            
            
            
            
                
                    
                    
                    
                        
                    
                    
                        
                        
                    
                    
                
            
        
    
    
        
            
            
                
            
        
    
    
        
            
            
            
                
                    
                        
                    
                
            
        
        
            
            
                
                    
                        
                    
                
            
        
        
            
                
            
        
    
    
        
        
            
                
                
                
                
            
        
        
            
        
        
            
        
        
            
        
    
    
        
            
            
            
            
            
                
                    
                    
                    
                    
                    
                        
                    
                    
                        
                        
                    
                    
                    
                
            
        
    
    
        
The libs.CopyLibs.classpath property is not set up.
This property must point to 
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
of NetBeans IDE installation and is usually located at 
/java/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
 ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
                
        
    
    
        
        
        
        
        
        
            
                
            
        
    
    
        
            
        
        
            
        
    
    
        
    
    
    
    
        
        
    
    
        
        
    
    
        Must set JVM to use for profiling in profiler.info.jvm
        Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
    
    
    
    
    
    
    
    
        
    
    
        
        
    
    
        
            
        
        
            
        
    
    
        
        
            
        
    
    
        
        
            
        
    
    
        
        
            
        
    
    
        
        
    
    
    
        
        
    
    
        Must select some files in the IDE or set javac.includes
        
        
            
        
    
    
        
        
    
    
    
    
    
        
        
            
            
            
            
            
            
            
            
            
            
            
            
        
        
        
    
    
        Must select some files in the IDE or set javac.jsp.includes
        
        
            
            
            
            
            
            
            
            
            
            
            
            
            
            
        
        
        
            
                
            
        
    
    
        Must select a file in the IDE or set jsp.includes
        
    
    
    
        
        
    
    
        
        
        
            
        
    
    
        
        
        
            
        
    
    
        
        
        
            
        
    
    
        
        
        
            
        
    
    
    
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
    
    
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
    
    
        
    
    
        
        
        
            
        
    
    
        
        
    
    
    
    
    
    
        
        
    
    
        
        
    
    
        
        
    
    
        
        
    
    
        
    
    
    
        
    
    
        
        
        
        
    
    
    
        
    
    
        
    
    
    
        
            
                
                
                    
                
            
        
        
            
                
                
            
        
        
            
        
    
    
        
    
    
        
    
    
        
            
        
        
            
        
        
            
        
        
        
            
        
        
            
        
        
            
        
        
            
        
        
            
        
        
            
        
        
            
        
        
            
        
        
            
        
    
    
        
                    Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable.
                
        
        Launching ${browse.url}
        
            
        
    
    
        Must select one file in the IDE or set run.class
        
    
    
        Must select one file in the IDE or set run.class
        
    
    
        
    
    
    
        
        
        
        
        
        
    
    
        
            
        
        
            
                
            
            
                
            
        
    
    
        
    
    
        
    
    
        
    
    
        Must select one file in the IDE or set debug.class
        
    
    
    
    
        
    
    
        
    
    
        Must select one file in the IDE or set debug.class
        
    
    
    
        Must set fix.includes
        
    
    
        
    
    
    
    
    
        
            
        
        
        
        
    
    
        
            
            
        
    
    
        
            
            
            
        
    
    
        This target only works when run from inside the NetBeans IDE.
        
            
                
                
            
        
        
            
            
            
            
            
                
                
            
            
                
                
            
            
            
        
    
    
        
            
                
                
            
        
    
    
        
        
        
        
        
        
    
    
        
    
    
    
        
        
    
    
        
    
    
    
        
        
            
                
            
            
                
            
            
                
            
        
        
            
                
            
            
                
            
        
    
    
        
    
    
    
    
        
        
    
    
        
        
    
    
        
        
            
        
    
    
        
        
    
    
    
        
        
    
    
        Must select some files in the IDE or set javac.includes
        
        
            
        
    
    
        
        
    
    
    
    
        
    
    
        
    
    
        Some tests failed; see details above.
    
    
    
    
    
        
    
    
        Must select some files in the IDE or set test.includes
        
    
    
        Some tests failed; see details above.
    
    
    
        Must select some files in the IDE or set test.class
        Must select some method in the IDE or set test.method
        
    
    
        Some tests failed; see details above.
    
    
    
    
        Must select one file in the IDE or set test.class
        
    
    
        Must select one file in the IDE or set test.class
        Must select some method in the IDE or set test.method
        
    
    
        
    
    
    
    
        
    
    
    
    
    
        
            
        
        
        
            
        
        
        
        
    
    
        
        
    
    
        
    
    
        
        
    
    
    




你可能感兴趣的:(NetBeans部署项目(Extjs)报错(一))