很郁闷!不知道是为什么!我在JBuilder2006中按照步骤开发完EJB编译没有问题,但是在发布的时候出现一下错误提示。开发JSP是可以成功运行的!希望高手教教啊!
C:\bea\jdk141_03\bin\javaw  -classpath F:\bea\weblogic81\server\lib\weblogic_sp.jar;F:\bea\weblogic81\server\lib\weblogic.jar;F:\bea\weblogic81\server\lib\webservices.jar; weblogic.Deployer  -user kanxiaofeng  -adminurl http://127.0.0.1:7001  -password 123456789  -activate  -name EJBModule -sourcerootforupload D:/ACCP4.0课程/AllProject/EJBDemo/EJBModule.jar -targets myserver
Usage: java weblogic.Deployer [options] [actions] [File(s)]where options include:
    -adminurl <<protocol>://<server>:<port>> Administration server URL:  
                      default iiop://localhost:7001                
    -username <username> user name                                    
    -password <password> password for the user                        
    -examples         Displays example usage of this tool.         
    -name <application name> Defaults to the basename of the deployment  
                      file or directory.                           
    -targets <<target(s)>> A comma separated list of targets for the    
                      current operation. If not specified, all     
                      configured targets are used. For a new       
                      application, the default target is the       
                      administration server.                       
    -deploy           Make an application available for service.   
    -redeploy         Replace a running application partially or   
                      entirely.                                    
    -undeploy         Take an application out of service.          
Unrecognized option or flag, -sourcerootforupload