Getting error when trying to compile a servlet

hai every one ,
when i placed my servlet in the classes directory of the tomcat server and trying to compile it i am getting the following error
javac :invalid flag:C:Program
usage:javac <options><source files>
where possible options include
-g Generate all debugging info
-g:none Generate no debugging info
-g:(lines, vars ,source) Generate only some debugging info
-nowarn Generate no warnigs
etc
i have specified the classpath of the application in the environment variables

" Hi friend,
Wat you can do is ???
you gonna change your classpath to %tomcathome%=C: or D: or etc/Programfiles/Apache Tomcat 4.0/lib/etc/servlet.jar.
or else try locating servlet.jar file in the tomcat folder and place that in
C:\j2sdk1.4.0_01\lib folder and try compiling your code.
I guess it will work.
Regards,
RAHUL"
NO, if that was the problem it would have said
package javax.servlet dosen't exist

Similar Messages

  • Getting error when trying to create Exchange Connector in System Center Service Manager 2012

    Getting error when trying to create Exchange Connector in System Center Service Manager 2012
    The connection to the server was unsuccessful. Please check the server name and/or credentials entered.
    Additional Information: The server URL is not accessible or the user does not have permission to access it (message: The request failed. The remote server returned an error: (401) Unauthorized.
    Warm Regards, Pramod Kumar Singh Manager-IT

    Someone sorted out this issue by installing API 1.2 and copying the dll files to the service manager server ,service folder and replacing it with API 2.0 dll files.
    Also, your question is related to SCSM, please post at SCSM forum if you have further question.
    Juke Chou
    TechNet Community Support

  • Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.

    Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.  Has there been a fix or patch to this issue or do I have to convert back to CS4 to open the file?

    Having the same problem in CS6.  I can tell you that converting back to CS4 will NOT solve the problem.  It seems when support for backward compatibility is discontinued, there's just no way to get
    any help at all?  Absolute failure to provide any user support so far...

  • Error when trying to compile HTML help

    I'm using RoboHelp 7.0 on Windows XP. All of the sudden, last
    week, I start getting the following error when I try to compile
    "Fatal Error: Unexpected error from Microsoft HTML compiler." I've
    read the other posts regarding this error and deleted the .CPD file
    multiple times and tried to compile again still with no success.
    I've uninstalled and reinstalled multiple times and not had any
    better results. The other author in my office can check the project
    out of RoboSource and compile it fine. I have it on my local drive
    when trying to compile.
    I'd appreciate any ideas. It doesn't make sense that is
    something in the project since my other author can compile it fine.
    Thanks,
    Nita

    Hi, Nita,
    Do you have any other RoboHelp projects that you can try
    compiling? This may help to determine whether there's something
    slightly askew about this particular project — sounds
    unlikely if your colleague can compile without error — or
    whether the problem lies in your RoboHelp installation.
    I'd also recommend that you run MJ's Help Diagnostics,
    available from the address below. This will verify that all the
    HTML Help viewer and compiler components are properly installed and
    registered on your machine.
    http://helpware.net/downloads/index.htm#MJs
    Pete

  • Getting Error when trying to connect to the Primavera database. PPM V7 SP3

    Hi Guys,
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailService' defined in class path resource [com/primavera/bre//com/primavera/bre/integration/intgconf.xml]: Invalid destruction signature; nested exception is org.springframework.beans.factory.support.BeanDefinitionValidationException: Couldn't find a destroy method named 'destroy' on bean with name 'mailService'
    I have looked into the intgserver.jar under P6IntegrationAPI/lib and looked the com.primavera.infr.srvcs.MailServiceImpl.java and can see that there is no destroy method whereas it is defined in the com.primavera.bre.intergration.intgconf.xml as below
    <!-- provides mail services -->
    <bean id="mailService" class="com.primavera.infr.srvcs.MailServiceImpl" init-method="init" scope="singleton" destroy-method="destroy"*+>
    <property name="adminManager"><ref bean="adminManager"/></property>
    <property name="threadPool"><ref bean="threadPool"/></property>
    <property name="settingsManager"><ref bean="settingsManager"/></property>
    </bean>
    I get the above error when trying to connect to the Primavera database. I use PPMV7 SP3 and I have installed the Integration API from EPPMV7 bundle.
    My demo's are working fine.
    Any help would be appreciated.
    Thanks,
    Kajal.

    Hi Marc,
    I am using a userid (is an admin)
    Using global login method and provided userid & password in integration settings.
    In the machine profiles, provided userid, password and domin.
    Not providing domain in weblogin.
    With all the above I am still getting error "Could not authenticate the specified user. %0" for HFM application
    And with the same settings I am not getting any error to connect to essbase cube.
    Any suggestions?
    Thanks
    Krishna

  • Getting error when tried to learn the documents in OFR Designer

    Hi All,
    As per project requirements, I have to create Classification and Verification LearnSets in Oracle Form Recognition Designer depending on three Invoice Types-- PO,Non-PO and Pre-Approved.
    First I created three derived classes under Generic Class -- PO,Non-PO and Pre-Approved.
    I can add documents in Classification and Extraction LearnSet, analyze them, but getting error when click on the Learn button, I couldn't make the engine ready in learned state from the Definition Mode.
    Always getting the below two errors:-
    1) Cannot compile. May be not enough classes defined or too few documents assigned to the classes.
    Cannot learn the BrainwareView : DefaultView
    SERbrainware : Learn, learning error (7)
    2) Cannot compile. May be not enough classes defined or too few documents assigned to the classes.
    Cannot create Brainware Dictionary for BrainwareView : DefaultView
    SERbrainware : Create/AppendDictionary, preprocessing error (3)
    Thanks in advance,
    Moumi.

    Hi All,
    The below mentioned error were resolved after adding documents in Void Class.
    Thanks,
    Moumi.
    Edited by: 903667 on Jan 31, 2013 8:34 PM

  • Getting error when trying to update apps

    I'm getting this error when trying to update CC apps on my iMac:
    Update Failed
    Unable to write to file/folder. You may exit now, try after disabling your anti-virus, or contact customer support.
    Has anyone experienced/resolved this issue?

    Ggallowaycb it would appear that your current User account's file permissions have become compromised and you are unable to write/modify a specific directory.  Please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html for information on how to adjust your file permissions.

  • Getting error when trying to open Job Manager

    Hi List
    we are getting the below error when trying to open the Job Manager,which worked fine until yesterday.
    [nqs error 46105] Error executing Process: "C:\Program Files\Java\jdk1.6.0\bin\javaw.exe" - Xmx1024m -cp D:\OracleBI\server\Bin\JobManager\startup.jar org.eclipse.core.launcher.Main -data D:\OracleBIData\jobmanager -configuration C:\OracleBIData\jobmanager The system cannot find the path specified
    Please advice.
    Thanks..

    Did you change your JDK path by any chance? Also you are getting a strange error message. It is trying to point to both D:\OracleBIData\jobmanager and C:\OracleBIData\jobmanager. Is there anything that you changed prior to doing this?
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • I get this error when trying to compile a plain C++ project

    Tool:0: Couldn't run '/usr/bin/gcc-3.3' because it does not refer to an accessible executable.
    I get this error when I try to compile/build a normal C++ project.
    I make a new project. C++ tool. Call it "test"
    It automatically makes a main.cpp file which should output "hello world" but instead I get that error above. Not sure what is going on.

    I'm not sure where the "verbose" icon is, but I did get this, if it helps
    Native Build of Target "Test" using Build Style "Development"
    CompileC build/Test.build/Test.build/Objects-normal/ppc/main.o main.cpp normal ppc c++ com.apple.compilers.gcc.3_3
    cd /Users/Eric/Documents/Test
    /usr/bin/gcc-3.3 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -ffix-and-continue -mtune=G5 -Wp,-header-mapfile,/Users/Eric/Documents/Test/build/Test.build/Test.build/Test .hmap -F/Users/Eric/Documents/Test/build -I/Users/Eric/Documents/Test/build/include -I/Users/Eric/Documents/Test/build/Test.build/Test.build/DerivedSources -c /Users/Eric/Documents/Test/main.cpp -o /Users/Eric/Documents/Test/build/Test.build/Test.build/Objects-normal/ppc/main. o
    And my version of Xcode and such is..
    Xcode 2.0
    Xcode IDE 514.0
    Xcode Core 515.0
    ToolSupport 514.0
    Not sure about the SDK.
    iBook G4 and iPod Mini Mac OS X (10.4.5)

  • Suffering an complie error when trying to compile java class in EBS11i

    Hi,
    When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message:
    package javax.servlet does not exist
    cannot resolve symbol
    symbol : class HttpServletResponse
    It seems the javax.servlet package is not included in the classpath. But I checked the $CLASSPATH, it seems no problem.
    echo $CLASSPATH
    /u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u02/applvis/viscomn/java/appsborg2.zip:/u02/applvis/visora/8.0.6/forms60/java:/u02/applvis/viscomn/java
    Does anyone know the reason?
    environment: ebs 11i
    Thanks&Regards,
    Xiaofeng

    resolved this issue.
    1. Edit $APPL_TOP/admin/adovars.env file -
    Add the following jar files to the AF_CLASSPATH line -
    Full path of /...../iAS/Apache/Jsdk/lib/jsdk.jar
    Full path of /...../iAS/Apache/Jserv/libexec/ApacheJServ.jar
    2. Bounce the concurrent manager in order to have the changes take effect.

  • Getting error when trying to expose the java class as webservice

    I am new to webservices and ESB.
    I have two custom schemas. LegacyCustomer.xsd and CommonCustomer.xsd. I am compiling these schemas using JAXP. I am trying to map one custom data to another data using java class. I am trying to expose this java class into webservice.
    public class Test implements Serializable {
    private static final long serialVersionUID = 1L;
    public Test() {
    public CustomerType transform (CustomerDataType custDataType) {
    CustomerType custType = new CustomerType();
    custType.setCustomerId(custDataType.getCustomerId());
    return custType;
    Schemas used are:
    Input Schema:
    <schema targetNamespace="http://xmlns.oracle.com/Esb/CustomerData" xmlns:cust="http://xmlns.oracle.com/Esb/CustomerData" xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="CustomerData" type="cust:CustomerDataType"/>
         <complexType name="CustomerDataType">
              <sequence>
                   <element name="CustomerId" type="string"/>
    </sequence>
         </complexType>
    </schema>
    Output Schema:
    <schema targetNamespace="http://xmlns.oracle.com/Esb/CustomerProvision" xmlns:CU="http://xmlns.oracle.com/Esb/CustomerProvision" xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="Customer" type="CU:CustomerType"/>
         <complexType name="CustomerType">
              <sequence>
                   <element name="CustomerId" type="string"/>
              </sequence>
         </complexType>
    </schema>
    When I try to do this I am getting following error
    CustomerType of method transform cannot be serialized into xml, and no custom serializer has been defined for it.
    Why do we need custom serializer here? And if this is mandatory how can we define this custom serializer?

    Thanks for your reply...
    I tried second option that you specified first. I did the transformation of objects using xslt. It is working fine.
    But I couldn't able to do this using first method...,
    When I tried to compile the schema using jaxp it is actually creating classes without the private variables. and hence it is not able to recognize those variables to generate the wsdl.
    But I am not sure how to generate the classes with those private variables and getter and setters (to generate wsdl specification it seems to be mandatory one).
    Can you please tell me how can we do the schema compilation (other than xml beans and jaxp.... I tried both)?

  • Always getting errors when trying to control YOKOGAWA 7651 power supply on Labwindows/CVI

    Hi,
    I'm trying to set the voltage on the YOKOGAWA 7651 power supply through labwindows/cvi. I've set up a numeric slide on my userinterface with callback function "yoko7651dcvolts" and constant name "YOKO7651DCVOLTS".
    I always get this error when I run my program:
    "FATAL RUN-TIME ERROR: "DcSource.c", line 53, col 65, thread id 0x00001F3C: Invalid argument type: found 'pointer to double', expected 'pointer to int'."
    This error points to the third argument of the GetCtrlVal function below. The program/compiler wants me pass the variable "yoko1volts" as integer, but I want to (and should) be able to set voltages as floating numbers.
    Plus, even when I declare "yoko1volts" as integer, it stills doesn't work. All I get is zero, zero, and zero...on the power supply meter everytime I press the numeric slide.
    This is the section of the C code that is problemic:
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    This is the related h-file:
    #define YOKO7651_1 4
    #define YOKO7651_1_YOKO7651SWITCH 2 /* control type: binary, callback function: yoko7651switch */
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    Please help, how can I fix this issue?
    All the drivers (including the YOKOGAWA 7651 power supply) are properly installed and mounted. As a matter of fact, I can successfully turn the power supply on and off with the code below:
    int CVICALLBACK yoko7651switch (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    int yoko7651switchstate;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, &yoko7651switchstate);
    SetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, !yoko7651switchstate);
    yk7651_output (yoko76511Panel, !yoko7651switchstate);
    break;
    return 0;
    It's just setting the voltage on the power supply that is very problematic. Any help is appreciated...Thanks.
    Solved!
    Go to Solution.

    I second Al opinion of a disconnection between the UIR and the variable that holds the panel handle.
    As a side note, I noted that the problematic line is reading the value of the controll whose callback is executed:
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    In a situation like this, I would try using GetCtrlVal (panel, control, &yoko1volts); instead, that should get rid of all problems in panel handle / control ID.
    Despite this solution is working, in any case I would deep into the problem as an incorrect panel handle can lead to erratical behaviour in other places of the program.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Getting error when trying to login to CR XI server on suse linux server

    http://www.experts-exchange.com/Database/Reporting_/Crystal_Reports/Q_21747694.html
    Hello,
    I'm getting the above error when I try to login as administrator (blank password).
    This did work until I rebooted the linux server.
    I checked there are no port conflicts (nothing is using port 6400).
    I restarted the services manually, I even rebooted server and then restarted ccm services manually but no luck. I did find this is a known problem with linux crystal reports server but nothing stated about how to resolve it.
    Finding solutions in the SAP portal is difficult! This is about as user friendly as the Cisco support website. Cisco portal is AWEFUL.
    I'm in process of getting a support contract from SAP but it's taking a long time.
    I have to state the support from SAP is a big step DOWN from the business objects support. We were able to call and speak to engineers in a few minutes.
    With SAP support I was able to talk to some foreigner (asian or indian) to tell me that there is no phone support with SAP. This after being redirected at least 4 times between departments.
    Wow! So what do the other business objects customers have to say about the SAP support?
    I can't help but wonder about moving on to another solution for publishing reports.
    A vendor who actually gives a damn about the customers.
    Oskar

    this worked until I rebooted the server.
    I'm getting error showing it's trying to connect to a mysql database 'BOE115'.
    This server does have a mysql db running on it, but that db has no instance of BOE115.
    It also shows it's trying to connect as a user that isn't on the database.
    Where can I see the script with user/password that is trying to run and connect to the mysql db?
    Also, why didn't the install create the instance and user?
    Why did this work until I rebooted?
    There is no firewall on this server, that has been disabled.
    Thank you,
    Oskar

  • Getting error when trying to download deployed software package

    Hello all,  I have been struggling with this for almost two weeks and am about to give up.  The error I'm getting is when a client tries to download a deployed software package.  The software shows up in IE browser (servername\cmapplicationcatalog),
    but when I click install it errors out saying can't install or request software.  I am not a network guru and did not setup SCCM but need a little (maybe a lot) guidance.  I have looked at log files till my eyes are ready to fall out but just not
    sure what I am looking for.
    In ccmmessaging.log, I see this error "No reply message from Server. Server may be temporarily down or a transient network error"  and this after "http://servername/ccm_system/request failed
    with 0x8000000a"
    Here comes the weird part, I had this working, successfully deployed twice to two clients.  The next day I came in to work and it was broke.  I have no clue what could have changed over night to cause
    this issue.  If someone could maybe lend a hand troubleshooting, I would be most grateful. 
    Many thanks in advance!!
    Rob

    Hi,
    Please review the link below, here is a useful article for you.
    Tips and Tricks for Deploying the Application Catalog in System Center 2012 Configuration Manager
    http://blogs.technet.com/b/configmgrteam/archive/2012/07/05/tips-and-tricks-for-deploying-the-application-catalog-in-system-center-2012-configuration-manager.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Getting error when trying to download update for flash player with OSX 10.91

    Trying everything to download update for Adobe Flash Player. This is maddening. I have tried uninstalling previous player and re-installing and checked my preferences. Can any one give me some instructions that are easy to understand. I keep getting an error when installing.

    There usually is an Adobe flash uninstaller that goes through a process satisfactorily.
    Did you get the Adobe Flash update from their
    page, directly?  http://get.adobe.com/flashplayer/
    Also note the extensive info at Adobe link below.
    If you are having trouble, or Safari is involved, if
    you use a different browser, such as Firefox, etc to
    get that version Flash update. There's another thing to
    look into, in Mavericks, that older OS X didn't
    have, that may affect installation...
    In System Preferences, find a Flash Player preference
    under "Other." Click on the Advanced tab and then "Check
    Now" in the Updates section. An available new one
    would be installed. There is a similar issue/answer
    in the following solved ASC discussion thread:
    https://discussions.apple.com/message/21189654#21189654
    •Adobe Flash Player - Installation Problems - Mac OS X:
    http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-mac.ht ml
    Hopefully this helps.
    Good luck & happy computing!

Maybe you are looking for

  • ITunes videos won't play after 10.8 upgrade--checkerboard pattern

    On my Mac Mini (mid-2009) connected to an LG TV, after upgrading to Mountain Lion, all purchased videos on iTunes play audio but display a gray/white checkerboard pattern instead of a video. The same happens when I try to play the videos in Quicktime

  • Officejet pro 8600 installation in server windows 2008

    Hello, Having a problem extracting the 64bit driver provided by HP on our server 2008 R2 standard x64. Tried the command line execution as well, but no joy. Error page pops up saying it's the wrong OS or something like that. Have confirmed driver and

  • Downloading rented movie from library to ATV

    I rented a movie from itunes and downloaded it on my laptop. I have not watched the movie yet and I wanted to watch it on Apple TV (ATV). I open my itunes and it is listed on rented movies and gives me an option to "move" from library to ATV (only af

  • Is it possible to change the port number of an already installed ITS?

    Hello, I've done an install of the latest ITS stand-alone application (win2k server , IIS). It was installed on port 81. Is there an easy way to change the port number of this ITS installation without doing a new install? I know there are port refere

  • Speed Dropped to 2mbps

    Over the last few days my connection has dropped from 8mbps down to below 2mbps and i have no idea how this has happened. I did a quiet line test and didn't hear anything. Ran a speed test and in further diagnostics it said my profile has been set to