Unable to compile a package

I have a package , it has got only specification.
When i am trying to compile that package either through command window or SQL developer , i am not able to compile.
It stucks and the window hangs.
I have looked  into v$locked_object , and the object is not locked.
I have tried to compile other objects of same schema and it went successful.
i am not clear on what could be the reason?
I am on 11g

It's already there.
As i posted , i am not able to compile it through sql developer tool also.ie.UI
It has got a pragma declared name EXCEPTION_INIT.....
it declares only exceptions

Similar Messages

  • Unable to compile a package calling a package procedure in different schema

    Hello,
    I'm unable to compile a package referencing a package located in another schema. I get the message: PLS-00201: identifier 'pkg1' must be declared
    Facts:
    0. I'm running Oracle DB 10.2.0.4.0 Enterprise Edition
    1. There is one schema ('schema1') containing a package ('pkg1').
    2. This package 'pkg1' has a public synonym ('pkg1' as well).
    3. The EXECUTE grant is given to a role ('role1').
    4. There is another schema 'schema2', which is granted the role 'role1' (and set as default).
    5. This schema 'schema2' contains a package ('pkg2').
    6. This package 'pkg2' calls a procedure of 'pkg1'.
    7. When compiling 'pkg2', I get error message saying 'pkg1' does not exist.
    Of course, if I execute 'GRANT EXECUTE ON pkg1 TO PUBLIC' or 'GRANT EXECUTE ON pkg1 TO schema2', I can compile the package 'pkg2'. But I don't want this.
    And what's weird is that, connected as 'schema2', I can execute the statement 'execute pkg1.proc1' without any trouble. So I guess the role setup is okay.
    What would let me compile 'pkg2' properly?
    Regards,
    Arnaud

    user3347638 wrote:
    Hello,
    I'm unable to compile a package referencing a package located in another schema. I get the message: PLS-00201: identifier 'pkg1' must be declared
    Facts:
    0. I'm running Oracle DB 10.2.0.4.0 Enterprise Edition
    1. There is one schema ('schema1') containing a package ('pkg1').
    2. This package 'pkg1' has a public synonym ('pkg1' as well).
    3. The EXECUTE grant is given to a role ('role1').
    4. There is another schema 'schema2', which is granted the role 'role1' (and set as default).
    5. This schema 'schema2' contains a package ('pkg2').
    6. This package 'pkg2' calls a procedure of 'pkg1'.
    7. When compiling 'pkg2', I get error message saying 'pkg1' does not exist.
    Of course, if I execute 'GRANT EXECUTE ON pkg1 TO PUBLIC' or 'GRANT EXECUTE ON pkg1 TO schema2', I can compile the package 'pkg2'. But I don't want this.
    And what's weird is that, connected as 'schema2', I can execute the statement 'execute pkg1.proc1' without any trouble. So I guess the role setup is okay.
    What would let me compile 'pkg2' properly?
    Regards,
    Arnaudprivileges acquired via ROLE do NOT apply within named PL/SQL procedures.
    above is just a restriction built into PL/SQL.
    accept it & get on with reality

  • JAXB unable to compile generated package

    following the tutorial I ran xjc.sh on my xsd file generating a package with a -p option.
    when I ran javac user/*.java /usr/impl/*.java I received 100 error message all basicly complaining about missing classes
    ex:
    user/impl/UserDataImpl.java:13: package com.sun.xml.bind does not exist
    implements user.UserData, com.sun.xml.bind.RIElement, com.sun.xml.bind.JAXBObject, user.impl.runtime.UnmarshallableObject, user.impl.runtime.XMLSerializable, user.impl.runtime.ValidatableObject
    user/impl/UserDataTypeImpl.java:11: package com.sun.xml.bind does not exist
    public class UserDataTypeImpl implements user.UserDataType, com.sun.xml.bind.JAXBObject, user.impl.runtime.UnmarshallableObject, user.impl.runtime.XMLSerializable, user.impl.runtime.ValidatableObject
    how do I fix this? where do I find sun.com.xml and other related packages could my xaxb.properties have anything to do with this?
    Here it is:
    #Sun Jan 04 22:52:08 EST 2004
    javax.xml.bind.context.factory=com.sun.xml.bind.ContextFactory_1_0_1
    com.sun.xml.bind.jaxbContextImpl=user.impl.runtime.DefaultJAXBContextImpl
    I am using the web services development pack version 1.3
    here's my xsd file
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="userData" type="userDataType"/>
    <xsd:complexType name="userDataType">
    <xsd:sequence>
    <xsd:element name="userInfo" type="userInfoType" minOccurs="1" m
    axOccurs="1"/>
    <xsd:element name="buddy" type="buddyType" minOccurs="0" maxOccu
    rs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="userInfoType">
    <xsd:sequence>
    <xsd:element name="userID" type="xsd:unsignedShort"/>
    <xsd:element name="userName" type="xsd:string"/>
    <xsd:element name="hashedPW" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="buddyType">
    <xsd:sequence>
    <xsd:element name="userID" type="xsd:unsignedShort"/>
    <xsd:element name="userName" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    drop a line if yo have any idea as to how to fix this

    I wonder if you come across any soultion or suggestion regarding your problem. I have the same kind of problem you are having eventhough I have copied the JWSDP_HOME\jre\lib\endorsed to my <JAVA_HOME>.
    I also updated my CLASSPATH to point to all the required jar files as mentioned in the forum.
    The number of errors have reduced, but I am running into the runtime error. Any idea on what the solution is? Thanks.
    givemethatjava
    I am glad your were able to run it. I, however, am
    still having problems even after placing all the .jar
    files in the jaxb, jaxp, jaxrpc directories in my
    path. 100 errors such as
    .\primer\po\impl\runtimeDefaultJAXBContextImpl.java:128
    cannot resolve symbol
    symbol: class Validator
    location: class primer.po.impl.runtime.Default
    JAXBContextImpl
    public Validator createValidator() throws
    s JAXBException{
    ^
    ...Property Exceptions, and
    .\primer\po\impl\runtime\UnmarshallingContext.java:18:
    package javax.xml.bind does not exist
    import javax.xml.bind.ValidationEvent;
    and
    .\primer\po\impl\runtime\ValidationContext.java:27:
    package com.sun.xml.bind does not exist
    import com.sun.xml.bind.ProxyGroup
    ^
    etc...
    I will continue searching the forums, and other
    sources. Thanks for your help!

  • Compile UTL_FILE PACKAGE BODY

    Hi ALL,,,
    I refreshed one db from PROD dump.
    After that I compiled all Invalid objects .But am unable to compile UTL_FILE PACKAGE BODY
    Showing all are invalid.
    OBJECT_NAME OBJECT_TYPE OWNER
    UTL_FILE PACKAGE BODY UTLFILE
    UTL_FILE_EX PACKAGE BODY UTLFILE
    UTL_FILE_ADMIN PACKAGE BODY UTLFILE
    SQL> show parameter utl
    NAME TYPE VALUE
    create_stored_outlines string
    utl_file_dir string
    Please help me how to compile this.
    If I tried to copile manualyy..I am gettimg Error like..PACAGE ALTERED WITH COMPILATION Errors.
    Thanks
    Manohar.

    Invalid objects are best compiled by using
    sqlplus / as sysdba
    @?\rdbms\admin\utlrp
    This will report the number of invalid objects when finishing.
    When you still have invalid objects you should query dba_errors where name='<name of invalid object>'
    All Oracle provided sources are in
    %ORACLE_HOME%\rdbms\admin
    You can simply find or grep for utl_file.
    There always will be two files
    utl<facility>.sql (or dbms<facility>.sql) and prvt<facility>.plb
    You need to run them both in sqlplus connected as sysdba.
    Sybrand Bakker
    Senior Oracle DBA

  • Unable to compile class for JSP.       package not found

    Hello folks,
    I was trying to build a simple web application using Eclipse IDE, tomcat 5.x server and ant to build and deploy the application.
    I referenced the following tutorial:
    http://www.onjava.com/pub/a/onjava/2003/01/08/tomcat4.html
    I was able to create a war file, deploy it in tomcat. When i invoke a simple jsp it works fine. However if I try to import any source pkg into jsp it throws error. Below is stack trace.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    C:\tomcat\work\Catalina\localhost\aweb\org\apache\jsp\web\Home_jsp.java:6:
    package com.ak.test does not exist
    import com.ak.test.*;
    ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
         org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)
         org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:994)
         org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:343)
         org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:553)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Any clue what is the issue?

    Additional Info:
    Location of files
    ==================
    My jsp file is located at:
    C:\eclipse\workspace\aweb\web\Home.jsp
    my class is located in:
    C:\eclipse\workspace\aweb\WEB-INF\classes\com\ak\test
    Webapplication Dir Structure:C:\eclipse\workspace:
    aweb(webapplication name)
    +web
    -----+Home.jsp
    +src
    ------+com.ak.test.MyJava.java
    +WEB-INF
    ------+Classes
    --------+com.ak.test.MyJava.class
    ------+lib
    ----------struts.jar
    ------+web.xml
    ------+struts-config.xml
    -aweb.war(build.xml creates war file as per WAR format)
    Ant task which installs the webapplication in Tomcat:
    <target name="install" description="Installs the Web Application" depends="package">
    <echo message="Installing ${app.name} ..."/>
    <install url="${manager.url}" username="${username}" password="${password}" path="/${app.name}"
    config="file:${basedir}/war/META-INF/context.xml" war="file:${basedir}/${app.name}.war"/>
    </target>
    build.properties file
    app.name=aweb
    manager.url=http://localhost:8080/manager
    tomcat.home=C:/tomcat
    username=user
    password=user
    Contents of the jsp file
    =======================
    <%@ page import="com.ak.test.MyJava" %>
    <html>
    <head>
    <title>Home Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    </body>
    </html>

  • Unable to compile class for JSP

    Please can anyone help me to solve this.
    Actually,this is the condition.
    In my db,there is a table called UserPassword, which has 4
    fields(empNo,UserName,password,level). Now I want to do these things:
    When the user submits the data to create a new account via HTML form, it submits the data to the file called CreateAcc.jsp. In this file it perform some logic,here are they.
    1)To check the empNo,if it is already exist in the DB,
         if empNo =exist then display error.(record already exist)
         if empNo =notexist then do task 2).
    2)check the UserName,if it is already exist in the db,
         if UserName=exist then display error.(because it's a primary key)
         if UserName=notexist then do task 3).
    3)Create a new user account and save it to the db.
    To do these tasks,I never create a new objects for the tasks 1) and 2).
    only for task 3)create an object.
    Is it the right way?
    Here is the file CreateAcc.jsp
    <%@ page language="java" %>
    <%@ page import="core.UserAccManager" %>
    <%@ page import="data.UserPassword" %>
    <jsp:useBean id="UserAccManager" class="core.UserAccManager" scope="session"/>
    <jsp:setProperty name="UserAccManager" property="*"/>
    <jsp:useBean id="UserPassword" class="data.UserPassword" scope="session"/>
    <jsp:setProperty name="UserPassword" property="*"/>
    <%
    String nextPage ="MainForm.jsp";
    if(UserPassword.verifyEmpno()){
         if(UserPassword.verifyUsername()){
              if(UserPassword.createAcc()) nextPage ="MsgAcc.jsp";
          }else{
               nextPage="UserNameExist.jsp";
          else{
              nextPage="UserAccError.jsp";
    %>
    <jsp:forward page="<%=nextPage%>"/>The directory structure:
    UserPassword.java- F:/Project/core/data/UserPassword.java
    UserAccManager.java - F:/Project/core/UserAccManager.java
    Now both are compiling.I put the class files into the TOMCAT,as follows.
    UserAccManager.class - webapps/mySystemName/WEB-INF/classes/core/
    UserPassword.class - webapps/mySystemName/WEB-INF/classes/core/data/
    Here is the full code of the file UserAccManager.java.
    package core;               //Is this right?
    import data.UserPassword;     //Is this right?
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public final class UserAccManager{
       private static final String DRIVER = "com.mysql.jdbc.Driver";
       private static final String URL = "jdbc:mysql://localhost:3306/superfine";
       private static Connection connection;
       private static PreparedStatement pstmt1;
       private static PreparedStatement pstmt2;     
       private static PreparedStatement pstmt3;     
       private UserAccManager(){
       // Initializes the connection and statements
       public static void initConnection() {
          if (connection == null) {
             try {
                String sql;
                // Open the database
                Class.forName(DRIVER).newInstance();
                connection = DriverManager.getConnection(URL);
                // Prepare the statements
               sql = "SELECT * FROM UserPassword where empNo= ?";
               pstmt1 = connection.prepareStatement(sql);
                sql = "SELECT UserName FROM UserPassword where UserName= ?";
                pstmt2 = connection.prepareStatement(sql);
             sql ="INSERT INTO UserPassword VALUES(?,?,?,?)";
             pstmt3 = connection.prepareStatement(sql);
             catch (Exception ex) {
                System.err.println(ex.getMessage());
       // Closes the connection and statements
       // Method to be called by main class when finished with DB
       public  void closeConnection() {
          //same as previous
       public static boolean verifyEmpno(int empno) {
          boolean emp_no_select_ok = false;
          int emp = -1;
          initConnection();
         try {
          pstmt1.setInt(1, empno);
             ResultSet rs1 = pstmt1.executeQuery();
         while(rs1.next()){
              emp=rs1.getInt("empNo");
         if(emp>0)
              emp_no_select_ok = false;
         } else{
              emp_no_select_ok = true;     
            rs1.close();
         pstmt1.close();     
          catch (Exception ex) {
             System.err.println(ex.getMessage());
          return emp_no_select_ok;
       public static boolean verifyUsername(String username) {
          boolean user_name_select_ok = false;
          String user = "xxxx";
          initConnection();
          try {
          pstmt2.setString(1, username);
             ResultSet rs2 = pstmt2.executeQuery();
            while(rs2.next()){
              user=rs2.getString("UserName");
               if(!user.equals("xxxx"))
              user_name_select_ok = false;
            } else{
              user_name_select_ok = true;     
           rs2.close();
          catch (Exception ex) {
             System.err.println(ex.getMessage());
          return user_name_select_ok;
         public static boolean createAcc(int empno, String username, String password, int
    level){
              boolean create_acc_ok = false;
              initConnection();
              try{
                      //create a new object,from the UserPassword table.
                   UserPassword useraccount = new UserPassword();
                   useraccount.setEmpno(empno);
                   useraccount.setUsername(username);
                   useraccount.setPassword(password);
                   useraccount.setLevel(level);
                   //assign value for ???
                   pstmt3.setInt(1, useraccount.getEmpno());
                   pstmt3.setString(2, useraccount.getUsername());
                   pstmt3.setString(3, useraccount.getPassword());
                   pstmt3.setInt(4, useraccount.getLevel());          
                   if(pstmt3.executeUpdate()==1) create_acc_ok=true;
                   pstmt3.close();
                           //con.close();
                catch(SQLException e2){
                           System.err.println(e2.getMessage());
              return create_acc_ok;
    }here is the bean (part of it)
    package data;               //is it right?
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UserPassword
         private int empno;
         private String username;
         private String password;
         private int level;
         // Constructor
         public UserPassword()
              this.empno = empno;
              this.username = username;
              this.password = password;
              this.level = level;
         // setters and getters are here.
    //     public boolean verifyEmpno() {
    //               return UserAccManager.verifyEmpno(empno);
    //       public boolean verifyUsername(String username) {
    //            return UserAccManager.verifyUsername(username);
         // These 2 methods not compile with or without para's.So I leave that job for the      
         //controll class UserAccManager.java.
    Now my problem is this: When I submit data, there is an error;org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:8:
    cannot access core.data.UserPassword
    bad class file: C:\Program Files\Apache Group\Tomcat
    4.1\webapps\HRM\WEB-INF\classes\core\data\UserPassword.class
    class file contains wrong class: data.UserPassword
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    import core.data.UserPassword;
    ^
    1 error
    Are there any mistakes? If so tell me where is it and how to change them.Please help.

    I try it that way, but it don't compile.
    Error:core\data\UserPassword.java:package javax.servlet does not exist
    import javax.servlet.*;
    core\data\UserPassword.java:package javax.servlet.http does not exist
    import javax.servlet.http.*;
    So,I comment them only in the UserPassword.java file,and compile it again.
    Then it compile well.I goto the directory to get the .class files.
    But there is only UserPassword.class inside the data folder. There is not
    UserAccManager.class in the core folder.
    Then I try this way,I put my 2 java files in to a new folder,
    F:\SystemName\com
    When I try it that way, but it don't compile.
    javac -classpath . -d . com\*.javaError:com\UserPassword.java:package javax.servlet does not exist
    import javax.servlet.*;
    com\UserPassword.java:package javax.servlet.http does not exist
    import javax.servlet.http.*;
    So,I comment them only in the UserPassword.java file,and compile it again.
    Now both are compiling well.There was 2 class files.
    I put them in to the WEB-INF/classes/com directory.
    Start the server.But it gave errors:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:68: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
    if(UserPassword.verifyEmpno(empno)){
                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
         if(UserAccManager.verifyUsername(username)){
                                             ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: non-static method
    verifyUsername(java.lang.String) cannot be referenced from a static context
         if(UserAccManager.verifyUsername(username)){
                             ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                       ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable password
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable level
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                         ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: non-static method
    createAcc(int,java.lang.String,java.lang.String,int) cannot be referenced from a static
    context
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                     ^
    8 errorsTo solve the problem non-static method,I goto the UserAccManager.java file and do these
    things.
    package com;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    //import javax.servlet.*;               //otherwise it tells an error.(package           
                                  //javax.servlet does not exist)
    //import javax.servlet.http.*;
    public  class UserAccManager {
       private static final String DRIVER = "com.mysql.jdbc.Driver";
       private static final String URL = "jdbc:mysql://localhost:3306/superfine";
       private static Connection connection;
       private static PreparedStatement pstmt1;
        private static PreparedStatement pstmt2;
          private static PreparedStatement pstmt3;
       private UserAccManager() {
       // Initializes the connection and statements
       private static void initConnection() {
             //same
       // Closes the connection and statements
       // Method to be called by main class when finished with DB
       public static void closeConnection() {
         //same
       public static boolean verifyEmpno(int empno) {
          // same.
       public static boolean verifyUsername(String username) {
         //same.
         public static boolean createAcc(int empno, String username, String password, int      
    level){
              //same
    package com;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    //import javax.servlet.*;
    //import javax.servlet.http.*;
    public class UserPassword {
         // same
    Again compile those files and put .class filses into the WEB-INF/classes/com directory.
    When i submits the data via the form it generates an error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
        [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:68: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
    if(UserAccManager.verifyEmpno(empno)){
                                  ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
         if(UserAccManager.verifyUsername(username)){
                                             ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                       ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable password
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable level
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                         ^
    6 errorshere is the CreateAcc.jsp file
    <%@ page language="java" %>
    <%@ page import="com.UserAccManager" %>
    <%@ page import="com.UserPassword" %>
    <jsp:useBean id="userPassword" class="com.UserPassword" scope="request"/>
    <jsp:setProperty name="userPassword" property="*" />
    <%
    String nextPage ="MainForm.jsp";
    if(UserAccManager.verifyEmpno(empno)){
         if(UserAccManager.verifyUsername(username)){
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
          }else{
               nextPage="UserNameExist.jsp";
          else{
              nextPage="UserAccError.jsp";
    %>
    <jsp:forward page="<%=nextPage%>"/>Please, anyone know how to send these parameters to the java file.
    Thanks.

  • Error: Makepkg was unable to build kdenlive package

    Another problem building kdenlive. Can anyone shed some light on the problem here, thanks
    ==>
    ==> kdenlive dependencies:
    - mlt++ (already installed)
    ==> Continue the building of 'kdenlive'? [Y/n]
    ==> ----------------------------------------------
    ==>
    ==> Building and installing package
    ==> Making package: kdenlive 0.5_1-2 (Sun Aug 3 13:34:37 CEST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found kdenlive-0.5-1.tar.gz in build dir
    -> Found kdenlive-0.5-gcc43.patch in build dir
    ==> Validating source files with md5sums...
    kdenlive-0.5-1.tar.gz ... Passed
    kdenlive-0.5-gcc43.patch ... Passed
    ==> Extracting Sources...
    -> bsdtar -x -f kdenlive-0.5-1.tar.gz
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    patching file kdenlive/docclipavfile.cpp
    patching file kdenlive/docclipproject.cpp
    patching file kdenlive/doccliptextfile.cpp
    patching file kdenlive/docclipvirtual.cpp
    patching file kdenlive/docsubclip.cpp
    patching file kdenlive/dynamicToolTip.cpp
    patching file kdenlive/effectdesc.cpp
    patching file kdenlive/effectparamdialog.cpp
    patching file kdenlive/kdenlive.cpp
    patching file kdenlive/kmmrulerpanel.cpp
    patching file kdenlive/kmmscreen.cpp
    patching file kdenlive/krender.cpp
    patching file kdenlive/kruler.cpp
    patching file kdenlive/krulertimemodel.cpp
    patching file kdenlive/ktimeline.cpp
    patching file kdenlive/ktrackpanel.cpp
    patching file kdenlive/ktrackview.cpp
    *** automake (GNU automake) 1.10.1 found.
    *** Creating acinclude.m4
    make[1]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    make[1]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    *** Creating list of subdirectories
    make[1]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    cd . && make -f admin/Makefile.common subdirs
    make[2]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    make[2]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    make[1]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    *** Creating configure.files
    *** Creating configure.in
    make[1]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    cd . && make -f admin/Makefile.common configure.in ;
    make[2]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    make[2]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    make[1]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    *** Creating aclocal.m4
    acinclude.m4:3699: the serial number must appear before any macro definition
    acinclude.m4:3744: the serial number must appear before any macro definition
    acinclude.m4:3789: the serial number must appear before any macro definition
    acinclude.m4:5997: the serial number must appear before any macro definition
    /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
    /usr/share/aclocal/smpeg.m4:13: run info '(automake)Extending aclocal'
    /usr/share/aclocal/smpeg.m4:13: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
    acinclude.m4:6583: AC_LIBTOOL_LINKER_OPTION is expanded from...
    acinclude.m4:8443: _LT_AC_LANG_C_CONFIG is expanded from...
    acinclude.m4:8442: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
    acinclude.m4:6067: AC_LIBTOOL_SETUP is expanded from...
    acinclude.m4:6047: _AC_PROG_LIBTOOL is expanded from...
    acinclude.m4:6012: AC_PROG_LIBTOOL is expanded from...
    acinclude.m4:11781: AM_PROG_LIBTOOL is expanded from...
    acinclude.m4:3472: KDE_PROG_LIBTOOL is expanded from...
    configure.in:54: the top level
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:6540: AC_LIBTOOL_COMPILER_OPTION is expanded from...
    acinclude.m4:10479: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:8588: _LT_AC_LANG_CXX_CONFIG is expanded from...
    acinclude.m4:8587: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
    acinclude.m4:7580: _LT_AC_TAGCONFIG is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:9604: _LT_AC_LANG_F77_CONFIG is expanded from...
    acinclude.m4:9603: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:9704: _LT_AC_LANG_GCJ_CONFIG is expanded from...
    acinclude.m4:9703: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
    *** Creating configure
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
    acinclude.m4:6583: AC_LIBTOOL_LINKER_OPTION is expanded from...
    acinclude.m4:8443: _LT_AC_LANG_C_CONFIG is expanded from...
    acinclude.m4:8442: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
    acinclude.m4:6067: AC_LIBTOOL_SETUP is expanded from...
    acinclude.m4:6047: _AC_PROG_LIBTOOL is expanded from...
    acinclude.m4:6012: AC_PROG_LIBTOOL is expanded from...
    acinclude.m4:11781: AM_PROG_LIBTOOL is expanded from...
    acinclude.m4:3472: KDE_PROG_LIBTOOL is expanded from...
    configure.in:54: the top level
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:6540: AC_LIBTOOL_COMPILER_OPTION is expanded from...
    acinclude.m4:10479: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:8588: _LT_AC_LANG_CXX_CONFIG is expanded from...
    acinclude.m4:8587: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
    acinclude.m4:7580: _LT_AC_TAGCONFIG is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:9604: _LT_AC_LANG_F77_CONFIG is expanded from...
    acinclude.m4:9603: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:9704: _LT_AC_LANG_GCJ_CONFIG is expanded from...
    acinclude.m4:9703: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
    *** Creating config.h template
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
    acinclude.m4:6583: AC_LIBTOOL_LINKER_OPTION is expanded from...
    acinclude.m4:8443: _LT_AC_LANG_C_CONFIG is expanded from...
    acinclude.m4:8442: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
    acinclude.m4:6067: AC_LIBTOOL_SETUP is expanded from...
    acinclude.m4:6047: _AC_PROG_LIBTOOL is expanded from...
    acinclude.m4:6012: AC_PROG_LIBTOOL is expanded from...
    acinclude.m4:11781: AM_PROG_LIBTOOL is expanded from...
    acinclude.m4:3472: KDE_PROG_LIBTOOL is expanded from...
    configure.in:54: the top level
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:6540: AC_LIBTOOL_COMPILER_OPTION is expanded from...
    acinclude.m4:10479: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:8588: _LT_AC_LANG_CXX_CONFIG is expanded from...
    acinclude.m4:8587: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
    acinclude.m4:7580: _LT_AC_TAGCONFIG is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:9604: _LT_AC_LANG_F77_CONFIG is expanded from...
    acinclude.m4:9603: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:9704: _LT_AC_LANG_GCJ_CONFIG is expanded from...
    acinclude.m4:9703: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
    *** Creating Makefile templates
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
    ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
    ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
    acinclude.m4:6583: AC_LIBTOOL_LINKER_OPTION is expanded from...
    acinclude.m4:8443: _LT_AC_LANG_C_CONFIG is expanded from...
    acinclude.m4:8442: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
    acinclude.m4:6067: AC_LIBTOOL_SETUP is expanded from...
    acinclude.m4:6047: _AC_PROG_LIBTOOL is expanded from...
    acinclude.m4:6012: AC_PROG_LIBTOOL is expanded from...
    acinclude.m4:11781: AM_PROG_LIBTOOL is expanded from...
    acinclude.m4:3472: KDE_PROG_LIBTOOL is expanded from...
    configure.in:54: the top level
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:6540: AC_LIBTOOL_COMPILER_OPTION is expanded from...
    acinclude.m4:10479: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:8588: _LT_AC_LANG_CXX_CONFIG is expanded from...
    acinclude.m4:8587: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
    acinclude.m4:7580: _LT_AC_TAGCONFIG is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:9604: _LT_AC_LANG_F77_CONFIG is expanded from...
    acinclude.m4:9603: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
    configure.in:54: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
    acinclude.m4:9704: _LT_AC_LANG_GCJ_CONFIG is expanded from...
    acinclude.m4:9703: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
    renderer/Makefile.am:4: compiling `kdenlive_renderer.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'
    *** Postprocessing Makefile templates
    *** Creating date/time stamp
    *** Finished
    Don't forget to run ./configure
    If you haven't done so in a while, run ./configure --help
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /bin/install -c
    checking for -p flag to install... yes
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for kde-config... /opt/kde/bin/kde-config
    checking where to install... /opt/kde (as requested)
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking whether gcc is blacklisted... no
    checking whether g++ supports -Wmissing-format-attribute... yes
    checking whether gcc supports -Wmissing-format-attribute... yes
    checking whether g++ supports -Wundef... yes
    checking whether g++ supports -Wno-long-long... yes
    checking whether g++ supports -Wno-non-virtual-dtor... yes
    checking whether g++ supports -fno-reorder-blocks... yes
    checking whether g++ supports -fno-exceptions... yes
    checking whether g++ supports -fno-check-new... yes
    checking whether g++ supports -fno-common... yes
    checking whether g++ supports -fexceptions... yes
    checking whether system headers can cope with -O2 -fno-inline... irrelevant
    checking how to run the C++ preprocessor... g++ -E
    checking whether g++ supports -O0... yes
    checking whether g++ supports -Wl,--no-undefined... yes
    checking whether g++ supports -Wl,--allow-shlib-undefined... yes
    not using lib directory suffix
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for g77... no
    checking for xlf... no
    checking for f77... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for xlf90... no
    checking for f90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... gfortran
    checking whether we are using the GNU Fortran 77 compiler... yes
    checking whether gfortran accepts -g... yes
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc static flag works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking for shl_load... (cached) no
    checking for shl_load in -ldld... (cached) no
    checking for dlopen... (cached) no
    checking for dlopen in -ldl... (cached) yes
    checking whether a program can dlopen itself... (cached) yes
    checking whether a statically linked program can dlopen itself... (cached) yes
    appending configuration tag "F77" to libtool
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for gfortran option to produce PIC... -fPIC
    checking if gfortran PIC flag -fPIC works... yes
    checking if gfortran supports -c -o file.o... yes
    checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking if C++ programs can be compiled... yes
    checking for strlcat... no
    checking if strlcat needs custom prototype... yes - in libkdefakes
    checking for strlcpy... no
    checking if strlcpy needs custom prototype... yes - in libkdefakes
    checking for main in -lutil... yes
    checking for main in -lcompat... no
    checking for crypt in -lcrypt... yes
    checking for socklen_t... yes
    checking for dnet_ntoa in -ldnet... no
    checking for dnet_ntoa in -ldnet_stub... no
    checking for inet_ntoa... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for sys/types.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking sys/bitypes.h usability... yes
    checking sys/bitypes.h presence... yes
    checking for sys/bitypes.h... yes
    checking for poll in -lpoll... no
    checking Carbon/Carbon.h usability... no
    checking Carbon/Carbon.h presence... no
    checking for Carbon/Carbon.h... no
    checking CoreAudio/CoreAudio.h usability... no
    checking CoreAudio/CoreAudio.h presence... no
    checking for CoreAudio/CoreAudio.h... no
    checking if res_init needs -lresolv... yes
    checking for res_init... yes
    checking if res_init needs custom prototype... no
    checking for killpg in -lucb... no
    checking size of int... 4
    checking size of short... 2
    checking size of long... 4
    checking size of char *... 4
    checking for dlopen in -ldl... (cached) yes
    checking for shl_unload in -ldld... no
    checking size of size_t... 4
    checking size of unsigned long... 4
    checking sizeof size_t == sizeof unsigned long... yes
    checking for PIE support... yes
    checking if enabling -pie/fPIE support... yes
    checking crt_externs.h usability... no
    checking crt_externs.h presence... no
    checking for crt_externs.h... no
    checking for _NSGetEnviron... no
    checking for vsnprintf... yes
    checking for snprintf... yes
    checking for X... libraries /usr/lib, headers .
    checking for IceConnectionNumber in -lICE... yes
    checking for libXext... yes
    checking for pthread_create in -lpthread... yes
    checking for extra includes... no
    checking for extra libs... no
    checking for libz... -lz
    checking for libpng... -lpng -lz -lm
    checking for libjpeg6b... no
    checking for libjpeg... -ljpeg
    checking for perl... /usr/bin/perl
    checking for Qt... libraries /opt/qt/lib, headers /opt/qt/include using -mt
    checking for moc... /opt/qt/bin/moc
    checking for uic... /opt/qt/bin/uic
    checking whether uic supports -L ... yes
    checking whether uic supports -nounload ... yes
    checking if Qt needs -ljpeg... no
    checking for rpath... yes
    checking for KDE... libraries /opt/kde/lib, headers /opt/kde/include
    checking if UIC has KDE plugins available... yes
    checking for KDE paths... defaults
    checking for dcopidl... /opt/kde/bin/dcopidl
    checking for dcopidl2cpp... /opt/kde/bin/dcopidl2cpp
    checking for mcopidl... /opt/kde/bin/mcopidl
    checking for artsc-config... /opt/kde/bin/artsc-config
    checking for meinproc... /opt/kde/bin/meinproc
    checking for kconfig_compiler... /opt/kde/bin/kconfig_compiler
    checking for dcopidlng... /opt/kde/bin/dcopidlng
    checking for xmllint... /usr/bin/xmllint
    checking whether byte ordering is bigendian... no
    checking for MAXPATHLEN... 4096
    checking for mlt-config... /usr/bin/mlt-config
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for LIBIEC61883... yes
    checking libavc1394/avc1394.h usability... yes
    checking libavc1394/avc1394.h presence... yes
    checking for libavc1394/avc1394.h... yes
    configure: creating ./config.status
    wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 966.
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    checking if doc should be compiled... yes
    checking if graphics should be compiled... yes
    checking if icons should be compiled... yes
    checking if kdenlive should be compiled... yes
    checking if pgm should be compiled... yes
    checking if po should be compiled... yes
    checking if profiles should be compiled... yes
    checking if renderer should be compiled... yes
    configure: creating ./config.status
    wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1397.
    config.status: creating Makefile
    config.status: creating doc/Makefile
    config.status: creating doc/de/Makefile
    config.status: creating doc/en/Makefile
    config.status: creating doc/fr/Makefile
    config.status: creating doc/it/Makefile
    config.status: creating graphics/Makefile
    config.status: creating icons/Makefile
    config.status: creating icons/hicolor/Makefile
    config.status: creating icons/hicolor/22x22/Makefile
    config.status: creating icons/hicolor/22x22/actions/Makefile
    config.status: creating icons/hicolor/32x32/Makefile
    config.status: creating icons/hicolor/32x32/actions/Makefile
    config.status: creating kdenlive/Makefile
    config.status: creating pgm/Makefile
    config.status: creating pgm/PAL/Makefile
    config.status: creating po/Makefile
    config.status: creating profiles/Makefile
    config.status: creating renderer/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    Good - your configure finished. Start make now
    make all-recursive
    make[1]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    Making all in doc
    make[2]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc'
    Making all in .
    make[3]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc'
    Making all in fr
    make[3]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc/fr'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc/fr'
    Making all in en
    make[3]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc/en'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc/en'
    Making all in de
    make[3]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc/de'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc/de'
    Making all in it
    make[3]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc/it'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc/it'
    make[2]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/doc'
    Making all in graphics
    make[2]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/graphics'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/graphics'
    Making all in icons
    make[2]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons'
    Making all in hicolor
    make[3]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor'
    Making all in 32x32
    make[4]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/32x32'
    Making all in actions
    make[5]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/32x32/actions'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/32x32/actions'
    make[5]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/32x32'
    make[5]: Nothing to be done for `all-am'.
    make[5]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/32x32'
    make[4]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/32x32'
    Making all in 22x22
    make[4]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/22x22'
    Making all in actions
    make[5]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/22x22/actions'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/22x22/actions'
    make[5]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/22x22'
    make[5]: Nothing to be done for `all-am'.
    make[5]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/22x22'
    make[4]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor/22x22'
    make[4]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor'
    make[4]: Nothing to be done for `all-am'.
    make[4]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor'
    make[3]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons/hicolor'
    make[3]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons'
    make[2]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/icons'
    Making all in kdenlive
    make[2]: Entering directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/kdenlive'
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT docclipavfile.o -MD -MP -MF .deps/docclipavfile.Tpo -c -o docclipavfile.o docclipavfile.cpp
    In file included from docclipref.h:37,
    from clipmanager.h:32,
    from docclipavfile.cpp:30:
    effectstack.h:39: warning: type qualifiers ignored on function return type
    docclipavfile.h: In constructor 'DocClipAVFile::DocClipAVFile(const QString&, const KURL&, uint)':
    docclipavfile.h:212: warning: 'DocClipAVFile::m_ttl' will be initialized after
    docclipavfile.h:197: warning: 'bool DocClipAVFile::m_hasCrossfade'
    docclipavfile.cpp:37: warning: when initialized here
    docclipavfile.h: In constructor 'DocClipAVFile::DocClipAVFile(const QString&, const GenTime&, uint)':
    docclipavfile.h:197: warning: 'DocClipAVFile::m_hasCrossfade' will be initialized after
    docclipavfile.h:182: warning: 'bool DocClipAVFile::m_durationKnown'
    docclipavfile.cpp:49: warning: when initialized here
    docclipavfile.h: In constructor 'DocClipAVFile::DocClipAVFile(const KURL&, const GenTime&, bool, uint)':
    docclipavfile.h:197: warning: 'DocClipAVFile::m_hasCrossfade' will be initialized after
    docclipavfile.h:180: warning: 'KURL DocClipAVFile::m_url'
    docclipavfile.cpp:60: warning: when initialized here
    docclipavfile.h: In constructor 'DocClipAVFile::DocClipAVFile(const KURL&, const QString&, const int&, const GenTime&, bool, bool, const QString&, double, uint, uint)':
    docclipavfile.h:216: warning: 'DocClipAVFile::m_lumaduration' will be initialized after
    docclipavfile.h:184: warning: 'double DocClipAVFile::m_framesPerSecond'
    docclipavfile.cpp:77: warning: when initialized here
    docclipavfile.cpp: At global scope:
    docclipavfile.cpp:77: warning: unused parameter 'extension'
    docclipavfile.h: In constructor 'DocClipAVFile::DocClipAVFile(const KURL&)':
    docclipavfile.h:197: warning: 'DocClipAVFile::m_hasCrossfade' will be initialized after
    docclipavfile.h:182: warning: 'bool DocClipAVFile::m_durationKnown'
    docclipavfile.cpp:92: warning: when initialized here
    docclipavfile.cpp: At global scope:
    docclipavfile.cpp:421: warning: unused parameter 'startTime'
    docclipavfile.cpp:421: warning: unused parameter 'endTime'
    docclipavfile.cpp: In member function 'virtual QDomDocument DocClipAVFile::sceneToXML(const GenTime&, const GenTime&) const':
    docclipavfile.cpp:423: warning: control reaches end of non-void function
    mv -f .deps/docclipavfile.Tpo .deps/docclipavfile.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT docclipproject.o -MD -MP -MF .deps/docclipproject.Tpo -c -o docclipproject.o docclipproject.cpp
    docclipproject.cpp:909:3: warning: #warning "this line might be the cause of significant trouble"
    In file included from docclipref.h:37,
    from docclipproject.h:22,
    from docclipproject.cpp:18:
    effectstack.h:39: warning: type qualifiers ignored on function return type
    In file included from docclipproject.cpp:18:
    docclipproject.h:53: warning: type qualifiers ignored on function return type
    docclipproject.h:54: warning: type qualifiers ignored on function return type
    docclipproject.cpp: In member function 'void DocClipProject::slotAddTrack(DocTrackBase*, int)':
    docclipproject.cpp:98: warning: comparison between signed and unsigned integer expressions
    docclipproject.cpp: In member function 'void DocClipProject::slotDeleteTrack(int)':
    docclipproject.cpp:121: warning: comparison between signed and unsigned integer expressions
    docclipproject.cpp: In member function 'virtual const DocClipBase::CLIPTYPE& DocClipProject::clipType() const':
    docclipproject.cpp:728: warning: returning reference to temporary
    mv -f .deps/docclipproject.Tpo .deps/docclipproject.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT doccliptextfile.o -MD -MP -MF .deps/doccliptextfile.Tpo -c -o doccliptextfile.o doccliptextfile.cpp
    doccliptextfile.cpp:273:2: warning: #warning TODO - write this funtion.
    In file included from docclipref.h:37,
    from clipmanager.h:32,
    from doccliptextfile.cpp:30:
    effectstack.h:39: warning: type qualifiers ignored on function return type
    doccliptextfile.cpp: In member function 'virtual void DocClipTextFile::removeTmpFile() const':
    doccliptextfile.cpp:111: warning: 'static bool KIO::NetAccess::del(const KURL&)' is deprecated (declared at /opt/kde/include/kio/netaccess.h:347)
    doccliptextfile.cpp: At global scope:
    doccliptextfile.cpp:150: warning: unused parameter 'element'
    doccliptextfile.cpp:212: warning: unused parameter 'startTime'
    doccliptextfile.cpp:212: warning: unused parameter 'endTime'
    doccliptextfile.cpp: In member function 'uint DocClipTextFile::numReferences() const':
    doccliptextfile.cpp:274: warning: control reaches end of non-void function
    doccliptextfile.cpp: In member function 'virtual QDomDocument DocClipTextFile::sceneToXML(const GenTime&, const GenTime&) const':
    doccliptextfile.cpp:214: warning: control reaches end of non-void function
    doccliptextfile.cpp: In static member function 'static DocClipTextFile* DocClipTextFile::createClip(QDomElement)':
    doccliptextfile.cpp:165: warning: control reaches end of non-void function
    mv -f .deps/doccliptextfile.Tpo .deps/doccliptextfile.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT docclipvirtual.o -MD -MP -MF .deps/docclipvirtual.Tpo -c -o docclipvirtual.o docclipvirtual.cpp
    docclipvirtual.cpp:186:2: warning: #warning TODO - write this funtion.
    In file included from docclipref.h:37,
    from clipmanager.h:32,
    from docclipvirtual.cpp:30:
    effectstack.h:39: warning: type qualifiers ignored on function return type
    docclipvirtual.h: In constructor 'DocClipVirtual::DocClipVirtual(const KURL&, const QString&, const QString&, GenTime, GenTime, uint)':
    docclipvirtual.h:138: warning: 'DocClipVirtual::m_end' will be initialized after
    docclipvirtual.h:128: warning: 'DocClipBase::CLIPTYPE DocClipVirtual::m_clipType'
    docclipvirtual.cpp:34: warning: when initialized here
    docclipvirtual.cpp: In member function 'virtual void DocClipVirtual::removeTmpFile() const':
    docclipvirtual.cpp:85: warning: 'static bool KIO::NetAccess::del(const KURL&)' is deprecated (declared at /opt/kde/include/kio/netaccess.h:347)
    docclipvirtual.cpp: At global scope:
    docclipvirtual.cpp:105: warning: unused parameter 'element'
    docclipvirtual.cpp:133: warning: unused parameter 'startTime'
    docclipvirtual.cpp:133: warning: unused parameter 'endTime'
    docclipvirtual.cpp: In member function 'uint DocClipVirtual::numReferences() const':
    docclipvirtual.cpp:187: warning: control reaches end of non-void function
    docclipvirtual.cpp: In member function 'virtual QDomDocument DocClipVirtual::sceneToXML(const GenTime&, const GenTime&) const':
    docclipvirtual.cpp:135: warning: control reaches end of non-void function
    docclipvirtual.cpp: In static member function 'static DocClipVirtual* DocClipVirtual::createClip(QDomElement)':
    docclipvirtual.cpp:107: warning: control reaches end of non-void function
    mv -f .deps/docclipvirtual.Tpo .deps/docclipvirtual.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT docsubclip.o -MD -MP -MF .deps/docsubclip.Tpo -c -o docsubclip.o docsubclip.cpp
    docsubclip.cpp:82:2: warning: #warning - needs writing.
    docsubclip.cpp:129:2: warning: #warning - need to re-add in/out points correctly.
    docsubclip.cpp:149:3: warning: #warning - needs to be written
    In file included from docclipref.h:37,
    from docclipreflist.h:22,
    from doctrackbase.h:24,
    from doctrackbaselist.h:23,
    from kdenlivedoc.h:32,
    from docsubclip.cpp:19:
    effectstack.h:39: warning: type qualifiers ignored on function return type
    docsubclip.cpp:26: warning: unused parameter 'doc'
    docsubclip.cpp:80: warning: unused parameter 'doc'
    docsubclip.cpp:80: warning: unused parameter 'element'
    docsubclip.cpp:127: warning: unused parameter 'startTime'
    docsubclip.cpp:127: warning: unused parameter 'endTime'
    docsubclip.cpp:142: warning: unused parameter 'toPopulate'
    docsubclip.cpp:147: warning: unused parameter 'element'
    mv -f .deps/docsubclip.Tpo .deps/docsubclip.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT dynamicToolTip.o -MD -MP -MF .deps/dynamicToolTip.Tpo -c -o dynamicToolTip.o dynamicToolTip.cpp
    In file included from docclipref.h:37,
    from docclipreflist.h:22,
    from doctrackbase.h:24,
    from kmmtrackpanel.h:27,
    from dynamicToolTip.cpp:24:
    effectstack.h:39: warning: type qualifiers ignored on function return type
    kruler.h:31: warning: '<unnamed>::g_scrollTimerDelay' defined but not used
    kruler.h:32: warning: '<unnamed>::g_scrollThreshold' defined but not used
    mv -f .deps/dynamicToolTip.Tpo .deps/dynamicToolTip.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT effectdesc.o -MD -MP -MF .deps/effectdesc.Tpo -c -o effectdesc.o effectdesc.cpp
    In file included from effectdesc.cpp:24:
    effectparamdesc.h:99: warning: type qualifiers ignored on function return type
    effectdesc.cpp:69: warning: unused parameter 'name'
    effectdesc.cpp:69: warning: unused parameter 'video'
    effectdesc.cpp:69: warning: unused parameter 'audio'
    mv -f .deps/effectdesc.Tpo .deps/effectdesc.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT effectparamdialog.o -MD -MP -MF .deps/effectparamdialog.Tpo -c -o effectparamdialog.o effectparamdialog.cpp
    In file included from ./docclipref.h:37,
    from ./docclipreflist.h:22,
    from ./doctrackbase.h:24,
    from ./kmmtrackpanel.h:27,
    from effectparamdialog.cpp:34:
    ./effectstack.h:39: warning: type qualifiers ignored on function return type
    In file included from effectparamdialog.cpp:36:
    effectparamdesc.h:99: warning: type qualifiers ignored on function return type
    ./kruler.h:31: warning: '<unnamed>::g_scrollTimerDelay' defined but not used
    ./kruler.h:32: warning: '<unnamed>::g_scrollThreshold' defined but not used
    mv -f .deps/effectparamdialog.Tpo .deps/effectparamdialog.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT kdenlive.o -MD -MP -MF .deps/kdenlive.Tpo -c -o kdenlive.o kdenlive.cpp
    In file included from kdenlive.cpp:115:
    trackpanelclipmovefunction.h:166:2: warning: #warning - The following method is a bad example for programming design.
    In file included from kdenlive.cpp:39:
    /opt/kde/include/kedittoolbar.h:271: warning: 'KEditToolbarWidget' has a field 'KEditToolbarWidget::m_inactiveList' whose type uses the anonymous namespace
    /opt/kde/include/kedittoolbar.h:271: warning: 'KEditToolbarWidget' has a field 'KEditToolbarWidget::m_activeList' whose type uses the anonymous namespace
    In file included from /opt/kde/include/kfileitem.h:31,
    from kdenlive.cpp:58:
    /opt/kde/include/kfilemetainfo.h:1237: warning: type qualifiers ignored on function return type
    In file included from ./docclipref.h:37,
    from ./docclipproject.h:22,
    from ./exportdvddialog.h:28,
    from ./kdenlive.h:48,
    from capturemonitor.h:22,
    from kdenlive.cpp:65:
    ./effectstack.h:39: warning: type qualifiers ignored on function return type
    In file included from ./exportdvddialog.h:28,
    from ./kdenlive.h:48,
    from capturemonitor.h:22,
    from kdenlive.cpp:65:
    ./docclipproject.h:53: warning: type qualifiers ignored on function return type
    ./docclipproject.h:54: warning: type qualifiers ignored on function return type
    In file included from /opt/qt/include/qdragobject.h:50,
    from /opt/kde/include/kurldrag.h:24,
    from clipdrag.h:21,
    from kdenlive.cpp:66:
    /opt/qt/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
    /opt/qt/include/qimage.h:61: warning: suggest parentheses around && within ||
    In file included from kdenlive.cpp:74:
    documentbasenode.h: At global scope:
    documentbasenode.h:56: warning: type qualifiers ignored on function return type
    In file included from kdenlive.cpp:104:
    documentgroupnode.h:40: warning: type qualifiers ignored on function return type
    kdenlive.cpp: In member function 'void Gui::KdenliveApp::slotSetClipDuration()':
    kdenlive.cpp:3267: warning: unused variable 'ok'
    kdenlive.cpp: In member function 'void Gui::KdenliveApp::slotProjectDeleteClips(QStringList)':
    kdenlive.cpp:3441: warning: unused variable 'refClip'
    mv -f .deps/kdenlive.Tpo .deps/kdenlive.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT kmmrulerpanel.o -MD -MP -MF .deps/kmmrulerpanel.Tpo -c -o kmmrulerpanel.o kmmrulerpanel.cpp
    kmmrulerpanel.cpp: In member function 'int Gui::KMMRulerPanel::selectedMenuItem()':
    kmmrulerpanel.cpp:160: warning: comparison between signed and unsigned integer expressions
    mv -f .deps/kmmrulerpanel.Tpo .deps/kmmrulerpanel.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT kmmscreen.o -MD -MP -MF .deps/kmmscreen.Tpo -c -o kmmscreen.o kmmscreen.cpp
    In file included from docclipref.h:37,
    from krender.h:34,
    from kmmscreen.cpp:24:
    effectstack.h:39: warning: type qualifiers ignored on function return type
    In file included from exportdvddialog.h:28,
    from kdenlive.h:48,
    from krendermanager.h:26,
    from kmmscreen.cpp:25:
    docclipproject.h:53: warning: type qualifiers ignored on function return type
    docclipproject.h:54: warning: type qualifiers ignored on function return type
    mv -f .deps/kmmscreen.Tpo .deps/kmmscreen.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include -I/usr/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE -MT krender.o -MD -MP -MF .deps/krender.Tpo -c -o krender.o krender.cpp
    krender.cpp:26:29: error: ffmpeg/avformat.h: No such file or directory
    In file included from krender.cpp:40:
    /opt/qt/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
    /opt/qt/include/qimage.h:61: warning: suggest parentheses around && within ||
    In file included from ./docclipref.h:37,
    from ./docclipproject.h:22,
    from ./exportdvddialog.h:28,
    from ./kdenlive.h:48,
    from krender.cpp:53:
    ./effectstack.h: At global scope:
    ./effectstack.h:39: warning: type qualifiers ignored on function return type
    In file included from ./exportdvddialog.h:28,
    from ./kdenlive.h:48,
    from krender.cpp:53:
    ./docclipproject.h:53: warning: type qualifiers ignored on function return type
    ./docclipproject.h:54: warning: type qualifiers ignored on function return type
    In file included from krender.cpp:57:
    effectparamdesc.h:99: warning: type qualifiers ignored on function return type
    krender.h: In constructor 'KRender::KRender(const QString&, QWidget*, const char*)':
    krender.h:190: warning: 'KRender::m_winid' will be initialized after
    krender.h:171: warning: 'double KRender::m_framePosition'
    krender.cpp:62: warning: when initialized here
    krender.h:174: warning: 'KRender::m_generateScenelist' will be initialized after
    krender.h:162: warning: 'bool KRender::isBlocked'
    krender.cpp:62: warning: when initialized here
    krender.cpp:76: warning: deprecated conversion from string constant to 'char*'
    krender.cpp: At global scope:
    krender.cpp:121: warning: unused parameter 'self'
    krender.cpp: In member function 'void KRender::createVideoXWindow(WId, WId)':
    krender.cpp:146: warning: deprecated conversion from string constant to 'char*'
    krender.cpp:180: warning: deprecated conversion from string constant to 'char*'
    krender.cpp: In member function 'QPixmap KRender::extractFrame(int, int, int)':
    krender.cpp:254: warning: deprecated conversion from string constant to 'char*'
    krender.cpp: In member function 'QPixmap KRender::getVideoThumbnail(KURL, int, int, int)':
    krender.cpp:303: warning: deprecated conversion from string constant to 'char*'
    krender.cpp: In member function 'void KRender::getImage(KURL, int, int, int)':
    krender.cpp:324: warning: deprecated conversion from string constant to 'char*'
    krender.cpp: In member function 'void KRender::getFileProperties(KURL, uint)':
    krender.cpp:426: warning: deprecated conversion from string constant to 'char*'
    krender.cpp:447: error: 'AVFormatContext' was not declared in this scope
    krender.cpp:447: error: 'context' was not declared in this scope
    krender.cpp:447: error: expected primary-expression before ')' token
    krender.cpp:447: error: expected `;' before 'mlt_properties_get_data'
    krender.cpp:453: error: expected primary-expression before ')' token
    krender.cpp:453: error: expected `;' before 'mlt_properties_get_data'
    krender.cpp: In member function 'void KRender::setSceneList(QDomDocument, int)':
    krender.cpp:511: warning: deprecated conversion from string constant to 'char*'
    krender.cpp:552: warning: deprecated conversion from string constant to 'char*'
    krender.cpp: In member function 'const GenTime& KRender::seekPosition() const':
    krender.cpp:785: warning: returning reference to temporary
    krender.cpp:786: warning: returning reference to temporary
    krender.cpp: At global scope:
    krender.cpp:823: warning: unused parameter 'dropped'
    krender.cpp:843: warning: unused parameter 'sig'
    krender.cpp:895: warning: unused parameter 'startTime'
    krender.cpp:895: warning: unused parameter 'endTime'
    krender.cpp: In member function 'void KRender::exportCurrentFrame(KURL, bool)':
    krender.cpp:948: warning: deprecated conversion from string constant to 'char*'
    krender.cpp: At global scope:
    krender.cpp:937: warning: unused parameter 'notify'
    krender.cpp:121: warning: 'void consumer_stopped(mlt_consumer_s*, KRender*, mlt_frame_s*)' defined but not used
    make[2]: *** [krender.o] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5/kdenlive'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-dan/aur-kdenlive/kdenlive/src/kdenlive-0.5'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build kdenlive package.

    You sir should be up there with the Gods, thank you - it now compiles.
    I still have a problem as it now crashes and not many clues as to why.
    kdenlive
    kdenlive: + + YOUR MLT INSTALL WAS FOUND IN: /usr
    kdenlive: Mlt inited
    kdenlive: Creating new document
    kdenlive: deleting contents...
    kdenlive: Creating new document DONE
    kdenlive: Creating new document
    kdenlive: deleting contents...
    kdenlive: Creating new document DONE
    kdenlive: **************** INIT DOCUMENT VIEW ***************
    kdenlive: + + CREATING CONSUMER WITH PROFILE: atsc_1080i_60
    kdenlive: + + CREATING CONSUMER WITH PROFILE: atsc_1080i_60
    kdenlive: Creating new document
    kdenlive: deleting contents...
    kdenlive: Creating new document DONE
    KCrash: Application 'kdenlive' crashing...
    and
    [KCrash handler]
    #6 0xb7effca7 in mlt_properties_fetch () from /usr/lib/libmlt.so.0.2.4
    If any light can be shed on this, I would be on cloud 9

  • Unable to compile servlet files in javac

    i am unable to compile servlet *.java files in javac.as far as i can see my path is correct.
    Kindly provide a solution as soon as possible.
    My jdk1.3 is in my c drive and my tomcat in my d drive.
    if you are able to compile kindly let me know your path.
    it says symbol not resolved.i think that it is unable to import from javax

    Assuming that your jdk is in c drive as c:\jdk1.3 set the path and the classpath like as shown below. Remember that you have to set the classpath for the classes in the javax.servlet and javax.servlet.http packages. I know how to do it for JavaWebServer. JavaWebServer has a jar called servlet.jar that contains all these classes. What you need to do is to put this jar file in your classpath. There will be a similar jar file for Tomcat server also. You need to refer the Tomcat server documentation for that.
    The path and the classpath have to be set like this...
    d:\>path=%path%;.;c:\jdk1.3\bin;
    d:\>set classpath=%classpath%;.;c:\jdk1.3\lib;c:\JavaWebServer2.0\lib\servlet.jar;
    assuming tht JWS is installed in c:\JavaWebServer2.0
    Also note that there should be no spaces in between while setting the classpath. In your case you have to change the last part of the classpath to customize your requirement.
    Hope that will help.
    Regards
    Jaydeep

  • Unable to compile class for JSP. apache-tomcat-6. What could be wrong?

    Hello, I am new to JSP and I am trying a very basic jsp and class file on Windows XP. I get the Unable to compile class for JSP.
    Steps that I have done:
    javac ch06_01.java , placed the ch06_01.class under
    C:\Apps\apache-tomcat-6.0.16\webapps\ch06\WEB-INF\classes
    Then grabbed the ch06_02.jsp and placed it under
    C:\Apps\apache-tomcat-6.0.16\webapps\ch06\
    When I run it (by placing this into Explorer or Firefox URL
    http://localhost:8080/ch06/ch06_02.jsp) I get the error further
    below. Things I have done and made sure they are in place are:
    set up JAVA_HOME to C:\Apps\jdk1.6.0_06
    Using CATALINA_BASE: C:\Apps\apache-tomcat-6.0.16
    Using CATALINA_HOME: C:\Apps\apache-tomcat-6.0.16
    Using CATALINA_TMPDIR: C:\Apps\apache-tomcat-6.0.16\temp
    Using JRE_HOME: C:\Apps\jre1.6.0_06
    I did a google on the error and I found people saying to place the
    tools.jar from the jsk into the lib directory under CATALINA_HOME. But
    the examples still don't work. What step could I be missing? Your help is greatly
    appreciated.
    This is the simple jsp file:
    <%@ page import="ch06_01" %>
    <HTML>
    <HEAD>
    <TITLE>Using a JavaBean</TITLE>
    </HEAD>
    <BODY>
    <H1>Using a JavaBean</H1>
    <% ch06_01 messager = new ch06_01(); %>
    The message is: <%= messager.msg() %>
    </BODY>
    </HTML>
    this is the simple ch6_01 java file:
    public class ch06_01
    public ch06_01()
    public String msg()
    return "Hello from JSP!";
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented
    it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    The import ch06_01 cannot be resolved
    An error occurred at line: 9 in the jsp file: /ch06_02.jsp
    ch06_01 cannot be resolved to a type
    6: <BODY>
    7: <H1>Using a JavaBean</H1>
    8:
    9: <% ch06_01 messager = new ch06_01(); %>
    10:
    11: The message is: <%= messager.msg() %>
    12:
    An error occurred at line: 9 in the jsp file: /ch06_02.jsp
    ch06_01 cannot be resolved to a type
    6: <BODY>
    7: <H1>Using a JavaBean</H1>
    8:
    9: <% ch06_01 messager = new ch06_01(); %>
    10:
    11: The message is: <%= messager.msg() %>
    12:
    Stacktrace:
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
    org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:316)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:281)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    Edited by: indikon1 on Jun 12, 2008 1:18 PM
    I just updated the directories of the variables to reflect the current status of my system.

    What is wrong is that you are using an "old" jsp tutorial :-)
    Since Java 1.4, JSPs have been unable to access classes in the "default" package.
    What you need to do:
    Put the java class ch06_01 in a package.
    Steps to do this
    - Edit ch06_01 and add the following to the very top of the file (without the quotes): "package mypackage;"
    - create a folder "mypackage"
    - move ch06_01.java into that folder
    - compile that class (now in the mypackage package)
    - place ch06_01.class under C:\Apps\apache-tomcat-6.0.16\webapps\ch06\WEB-INF\classes\mypackage
    In your jsp:
    <%@ page import="mypackage.ch06_01" %>
    I would suggest using a more up-to-date tutorial that uses JSTL.
    Take a look at this [Apache Tomcat tutorial|http://www.coreservlets.com/Apache-Tomcat-Tutorial/index.html]

  • Unable to compile class for JSP--- help me plz!!!!!

    hi friends;
    Pease suggest me where i am wrong, i think javabean is not instantiated in jsp file.may be it is related to the classpath of javabean. i have not set any variable for javabean classpath. and i put javabean class file in
    TOMCAT_HOME/webapps/test3/WEB-INF/UseDta.class
    and all the jsp and html in /test3. my jsp an javabeans are--
    1. GetName.html
    <HTML>
    <BODY>
    <FORM METHOD=POST ACTION="SaveName.jsp">
    What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20><BR>
    What's your e-mail address? <INPUT TYPE=TEXT NAME=email SIZE=20><BR>
    What's your age? <INPUT TYPE=TEXT NAME=age SIZE=4>
    <P><INPUT TYPE=SUBMIT>
    </FORM>
    </BODY>
    </HTML>
    2. SaveName.jsp
    <jsp:useBean id="user" class="UserData" scope="session">
    <jsp:setProperty name="user" property="*"/>
    </jsp:useBean>
    <HTML>
    <BODY>
    Continue
    </BODY>
    </HTML>
    3. UserData.java
    public class UserData {
    String username;
    String email;
    int age;
    public UserData(){}
    public void setUsername( String value )
    username = value;
    public void setEmail( String value )
    email = value;
    public void setAge( int value )
    age = value;
    public String getUsername() { return username; }
    public String getEmail() { return email; }
    public int getAge() { return age; }
    4. NextPage.jsp
    <jsp:useBean id="user" class="UserData" scope="session"/>
    <HTML>
    <BODY>
    You entered<BR>
    Name: <%= user.getUsername() %><BR>
    Email: <%= user.getEmail() %><BR>
    Age: <%= user.getAge() %><BR>
    </BODY>
    </HTML>
    url: http://localhost:8080/test3/GetName.html
    is it related to context path??
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 2 in the jsp file: /SaveName.jsp
    Generated servlet error:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\test3\org\apache\jsp\SaveName_jsp.java:44: cannot find symbol
    symbol : class UserData
    location: class org.apache.jsp.SaveName_jsp
    UserData user = null;
    ^
    An error occurred at line: 2 in the jsp file: /SaveName.jsp
    Generated servlet error:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\test3\org\apache\jsp\SaveName_jsp.java:46: cannot find symbol
    symbol : class UserData
    location: class org.apache.jsp.SaveName_jsp
    user = (UserData) jspxpage_context.getAttribute("user", PageContext.SESSION_SCOPE);
    ^
    An error occurred at line: 2 in the jsp file: /SaveName.jsp
    Generated servlet error:
    C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\test3\org\apache\jsp\SaveName_jsp.java:48: cannot find symbol
    symbol : class UserData
    location: class org.apache.jsp.SaveName_jsp
    user = new UserData();
    ^
    3 errors
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
    org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:437)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
    Apache Tomcat/5.0.30
    please Reply me ASAP
    i'll be glad if you reply. please

    I am using Tomcat 6.0.
    I have put my UserData class in user package and
    used in below jsp(SaveName.jsp)
    <%@ page import="user.UserData" %>
    <jsp:useBean id="user" class="user.UserData" scope="session"/>
    <jsp:setProperty name="user" property="*"/>
    <HTML>
    <BODY>
    Continue
    </BODY>
    </HTML>
    I have already set my classpath as C:\Documents and Settings\user\My Documents\Java\apache-tomcat-6.0.16\apache-tomcat-6.0.16\webapps\ROOT\WEB-INF\classes;
    UserData class is in C:\Documents and Settings\user\My Documents\Java\apache-tomcat-6.0.16\apache-tomcat-6.0.16\webapps\ROOT\WEB-INF\classes\user
    My UserData class is
    package user;
    public class UserData {
    String username;
    String email;
    int age;
         public UserData(){
              this("","",0);
              System.out.println("najn thanne puli");
         public UserData(String username,String email,int age){
              this.username=username;
              this.email=email;
              this.age=age;
    public void setUsername( String value )
    username = value;
    public void setEmail( String value )
    email = value;
    public void setAge( int value )
    age = value;
    public String getUsername() { return username; }
    public String getEmail() { return email; }
    public int getAge() { return age; }
    But running SaveName.jsp shows exception
    org.apache.jasper.JasperException: /SaveName.jsp(2,0) The value for the useBean class attribute user.UserData is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1200)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1160)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3372)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:281)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    Please help me.thanks in advance.

  • Unable to compile add.jsp

    I am able to run the examples in the tomcat, but unable to run my own add.jsp which tries to connect to oracle9i. The following error is displayed. add.jsp file is copied at the end of this error message.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat 4.1\work\Standalone\localhost\examples\add_jsp.java:7: '.' expected
    import DbConnect1;
    ^
    1 error
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
         at java.lang.Thread.run(Thread.java:534)
    The add.jsp contents are
    <%@page contentType="text/html" import="DbConnect1,java.util.*,java.sql.*,java.lang.*"%>
    <html>
    <head><title>JSP Page</title></head>
    <%
    String no,name,c;
    //int n;
    no=request.getParameter("NUMBER");
    //n=Integer.parseInt(no);
    name=request.getParameter("NAME");
    c=request.getParameter("check");
    if(c==null) c="";
    if(c.equals("1"))
    out.println("Retry Again");
    if(name==null )
    {name="";}
    if(!name.equals(""))
              try{
              DbConnect1 t=new DbConnect1();
                   t.insert(no,name);
                   response.sendRedirect("display.jsp");
              }catch(Exception e){response.sendRedirect("add.jsp?check=1");
    else {%>
         <form action="add.jsp" method=post>
         <input type=hidden name=check>
         <BODY BGCOLOR=PURPLE>
         <BR><PRE><FONT COLOR=WHITE SIZE=4 STYLE="WESTERN"><B><BR><BR><BR><BR> NUMBER <INPUT TYPE=TEXT SIZE=10      NAME="NUMBER">
         <BR><BR> NAME <INPUT TYPE=TEXT SIZE=20 NAME="NAME"><BR>
         <BR><BR><BR><BR> <INPUT TYPE="SUBMIT" VALUE="ADD" onClick="display()">
         </FORM>
         </form>
         <%}%>
    <SCRIPT LANGUAGE ="JavaScript">
    function display()
    window.location="/project/display.jsp"; }
    </SCRIPT>           
    </html>
    Any help would be greatly appreciated.
    Thanks
    Geetha

    if you want to know how to declare a package for your classes
    Follow the steps to make your application work
    Make this as the first statement in your DbConnect1 class
    package DbConnect1;
    Compile the class and place the DbConnect1.class file into
    Tomcat/webapps/<yourapplication>\WEB-INF\classes\package\ directory
    for eg : if your package name is test then place the class files under
    Tomcat/webapps/<yourapplication>\WEB-INF\classes\test directory
    This is where Tomcat looks for class files
    If you have any doubts regarding directory dtructure to be followed in Tomcat please refer to some of the example packages under Root directory
    In your JSP say
    page import = packageName. DbConnect1
    -Hope this helps
    Regards
    Manikantan

  • JasperException: Unable to compile class for JSP HELP

    I added couple of extra class files into the jar file.. and now its not able to find it! I am running JBoss latest version and using eclipse... any help wud be nice
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    Only a type can be imported. org.jfree.chart.servlet.WebHitChart resolves to a package
    Generated servlet error:
    Only a type can be imported. org.jfree.chart.servlet.WebHitDataSet resolves to a package
    An error occurred at line: 10 in the jsp file: /bar_chart.jsp
    Generated servlet error:
    WebHitChart cannot be resolved
    An error occurred at line: 10 in the jsp file: /bar_chart.jsp
    Generated servlet error:
    WebHitDataSet cannot be resolved
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

    just a random guess...
    I had a ton of issues with JBoss and jfreechart. JBoss uses a different classloader, and its internal versions of the jfreechart classes will be loaded before yours, causing all sorts of issues. Dig through the jboss directories and you'll find a different, older version of jfreechart of one of its classes. Remove them and you'll be in better shape.
    Alternatively, look around the JBoss docs for how to disable/turn off the unified classloader for your app (its a directive in jboss-web.xml IIRC). This should make the classloader for your webapp perform to spec, getting rid of the class colission issues.

  • Tomcat 4.1 Bean error (Unable to compile class for JSP)

    Help,
    I am using Tomcat 4.1 with with JDK1.3.1_01. I have a JSP page in which I try to use a Bean, but I get the following error from Tomcat.
    The JSP page is very simple. I am using package names in the import statement. Code below.
    I've put the class files under
    <TOMCAT>\webapps\projectname\WEB-INF\classes under the appropriate packages. What else is missing? I can not figure out what I am doing wrong.
    ***************** START JSP CODE *********************
    <html>
    <head>
    <title>User Information</title>
    </head>
    <%@ page session="true" %>
    <%@ page import="com.xxx.yyy.data.*" %>
    <body>
    <P> </P>
    <P> </P>
    <P> </P>
    <!--
    <jsp:useBean id="user" class="com.xxx.yyy.data.User" scope="session"/>
    -->
    <%
         User user = (User) session.getAttribute("user");
    %>
    UserID = <%= user.getUserID() %><BR>
    User Name = <%= user.getUserName() %><BR>
    Password = <%= user.getPassword() %><BR>
    Password Hint = <%= user.getPasswordHint() %><BR>
    </body>
    </html>
    ***************** END JSP CODE *********************
    ***************** START TOMCAT ERROR MESSAGE *********************
    org.apache.jasper.JasperException: Unable to compile class for JSP
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:477)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:182)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 20 in the jsp file: /userInfo.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:7: package com.xxx.yyy.data does not exist
    import com.xxx.yyy.data.*;
    ^
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:61: package com.xxx.yyy.data does not exist
    com.xxx.yyy.data.User user = null;
    ^
    An error occurred at line: 20 in the jsp file: /userInfo.jsp
    Generated servlet error:
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:63: package com.xxx.yyy.data does not exist
    user = (com.xxx.yyy.data.User) pageContext.getAttribute("user", PageContext.SESSION_SCOPE);
    ^
    An error occurred at line: 20 in the jsp file: /userInfo.jsp
    Generated servlet error:
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:66: package com.xxx.yyy.data does not exist
    user = (com.xxx.yyy.data.User) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.xxx.yyy.data.User");
    ^
    An error occurred at line: 25 in the jsp file: /userInfo.jsp
    Generated servlet error:
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:77: cannot resolve symbol
    symbol : class User
    location: class org.apache.jsp.userInfo_jsp
         User user = (User) session.getAttribute("user");
    ^
    An error occurred at line: 25 in the jsp file: /userInfo.jsp
    Generated servlet error:
    D:\Apache_Group\Tomcat_4.1\work\Standalone\localhost\PALBO\userInfo_jsp.java:77: cannot resolve symbol
    symbol : class User
    location: class org.apache.jsp.userInfo_jsp
         User user = (User) session.getAttribute("user");
    ^
    6 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:326)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:182)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:536)
    ***************** END TOMCAT ERROR MESSAGE *********************

    Hi
    I am running my Tomcat apps (on a Windows dev machine) in an alternate location (ie. not default webapps). The same crap comes to me every time. Unable to install etc. I have tried every trick in the book regarding classpath settings etc.
    When I use 'javap' to check the classpath from any location on my machine, its works and javap returns the signature of my class.
    When I use it though Tomcat (with the import set to include the filename), it get the error. I have heard rumors that using JDK 1.3 in stead of 1.4 helps, but I just want it to work with 1.4 :)
    So if any of you can help me on this, please.
    PS. On my linux server it works just fine, as does every other thing on that machine ;)
    Chris (chris.schuit <at> euronet.nl)

  • Org.apache.jasper.JasperException: Unable to compile class for JSP

    Hi All,
    I have been using NetBeans IDE 3.5.1. AndI am trying to execute one JSP file, but it is giving error and i am not able to execute the servlet files also in NetBeans IDE. Can anybody help me out regarding this...
    type - Exception report
    message - Internal Server Error
    description - The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception -
    org.apache.jasper.JasperException: Unable to compile class for JSP
    C:\Documents and Settings\kiran\.netbeans\3.5\tomcat406_base\work\Tomcat-Internal\localhost\C_3A_5CDocuments+and+Settings_5Ckiran_5CNetBeans+IDE+3.5.1_5Ctomcat406_5Cwebapps_5Cctm\jsp1\AdminClient$jsp.java:5: Package login not found in import.
    import login.*;
    ^
    C:\Documents and Settings\kiran\.netbeans\3.5\tomcat406_base\work\Tomcat-Internal\localhost\C_3A_5CDocuments+and+Settings_5Ckiran_5CNetBeans+IDE+3.5.1_5Ctomcat406_5Cwebapps_5Cctm\jsp1\AdminClient$jsp.java:7: Package javax.ejb not found in import.
    import javax.ejb.*;
    ^
    2 errors
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.loadJSP(IDEJspServlet.java:442)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.loadIfNecessary(IDEJspServlet.java:148)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:160)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:226)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:484)

    The page is located at web/test/test.jsp and the java as below
    Is there anything still need to add to test.jsp?
    DB.java (web/classes/DB/db.class)
    package DB;
    import java.sql.*;
    public class db
    String db_url="jdbc:mysql://localhost:3306/DB";
    String db_user="root";
    String db_password="123456";
    private ResultSet r=null;
    static private ResultSet res=null;
    int staff_Id=0;
    /** Creates a new instance of db */
    public int getRetrieveId()
    try{
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         catch (Exception E)
         E.printStackTrace();
         try{
    Connection C = DriverManager.getConnection(db_url,db_user,db_password);
    Statement S = C.createStatement();
    r = S.executeQuery("select max(staff_Id) from staff");
    while(r.next()){
    staff_Id=r.getInt(1);
    S.close();
    C.close();
    catch(Exception e)
    e.printStackTrace();
    return staff_Id;
    public static boolean getSearch(String s)
    String search_db_url="jdbc:mysql://localhost:3306/DB";
    String search_db_user="root";
    String search_db_password="123456";
    String str=null;
    boolean result=false;
    try{
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         catch (Exception E)
         E.printStackTrace();
         try{
    Connection C = DriverManager.getConnection(search_db_url,search_db_user,search_db_password);
    Statement S = C.createStatement();
    res = S.executeQuery(s);
    while(res.next()){
    str=res.getString(1);
    if(!str.equals(null))
    result=true;
    S.close();
    C.close();
    catch(Exception e)
    e.printStackTrace();
    return result;
    public void setUpdate(String str)
    try{
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         catch (Exception E)
         E.printStackTrace();
         try{
    Connection C = DriverManager.getConnection(db_url,db_user,db_password);
    Statement S = C.createStatement();
    int r = S.executeUpdate(str);
    S.close();
    C.close();
    catch(Exception e)
    e.printStackTrace();
    }

  • Org.apache.jasper.JasperException: Unable to compile class...

    Dear all,
    I've used java.util.List in my jsp, but when I import the package into the jsp, the following error occurs, please help:
    Type: Exception Report
    Message: Internal Server Error
    Exception
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\Sun\AppServer7\domains\domain1\server1\generated\jsp\j2ee-modules\EmailTracker2\_jasper\_index_jsp.java:14: class jasper.index_jsp must be declared abstract. It does not define java.util.List getIncludes() from class org.apache.jasper.runtime.HttpJspBase.
    public class indexjsp extends HttpJspBase {
    ^
    1 error, 1 warning
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:641)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:501)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:322)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
         at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

    Hi,
    I am using J2EE SDK 1.4 Server and deployed a Stateless Session Bean and used a JSP page as Web Deployment component. When I deploy the application no error is given but when I access application using the given web context name the following error is displayed on the browser.
    type Exception report
    message
    description The server encountered an internal error () that prevented
    it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually
    $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and
    access path.
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
    org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    Can anyone tell me why this error could be generated? I've given the JAVA_HOME environment variable value as C:\Sun\AppServer\jdk and J2EE_HOME variable value as C:\Sun\AppServer.

Maybe you are looking for

  • Externally Hosted DNS - How do I set up my 2003 DNS server for sub domain to point to internal IP address??

    I have a domain name(domain.com) DNS hosted at my ISP. I also have 3 sub domains DNS hosted at the same ISP pointing to various external ip addresses (mail.domain.com, vpn.domain.com and ts.domain.com). We want to set up sales.domain.com to point to

  • Workflow with Object Type LFA1

    Dear Workflow Gurus, My business scenario is as follows: 1. User will create the Vendor Master 2. Workflow will be triggered to the Manager so that he can check it (Display only) Basically, I created a workflow with the following: Start Event - BO LF

  • Fill out existing form

    just installed i works. want to fill out existing form. opens in pages and can not fill in form . Please help

  • Using Methods not Defined in a class that you are calling them from

    For one of my assignment I have had to create a class with methods and then create another class to test the methods. I keep getting the error message "cannot resolve symbol" And the error points to the line where I am calling the class. I have put t

  • Paper feed problem

    At work we just recently bought an officejet 6500A plus all in one printer,scan,fax; it was doing just fine then today an employee called me in about feeder problems; the problem is that when taking paper from the tray to print a page or document, it