Package does not exist error. What am I doing?

I would appreciate any ideas someone might have. I am doing a proof of concept
on WLS 7.0.
I deployed a ear file, containing a jar that has a Home, Remote and Bean class
like this:
com\co\test\SponsorHome.class
The EJB is deployed fine to the server and I see it in the console and everything
looks good.
I wrote a JSP page to access the bean and this is the error I get:
package com.co.test does not exist
probably occurred due to an error in /testejb.jsp line 2:
<%@ page import="com.co.test.*" %>
It errors out on that line, right away. Any help would be greatly appreciated,
I have been banging my head for two days on this one.
Thanks,
Matt

If you package the JSP within the EAR (or an exploded EAR) then the
server deploys them as the same unit. They're in the same classloader
structure to the JSP compiler can see the EJB interface classes.
When you deploy them separately, they're viewed by the server as
separate applications. You'll have to include the EJB interface classes
in the JSP's webapp.
I'd recommend deploying them together in an exploded EAR.
-- Rob
Matt wrote:
Rob,
It is not. Is that not possible?
Thanks,
Matt
Rob Woollen <[email protected]> wrote:
Is the JSP packaged inside the EAR as well?
-- Rob
Matt wrote:
I would appreciate any ideas someone might have. I am doing a proofof concept
on WLS 7.0.
I deployed a ear file, containing a jar that has a Home, Remote andBean class
like this:
com\co\test\SponsorHome.class
The EJB is deployed fine to the server and I see it in the consoleand everything
looks good.
I wrote a JSP page to access the bean and this is the error I get:
package com.co.test does not exist
probably occurred due to an error in /testejb.jsp line 2:
<%@ page import="com.co.test.*" %>
It errors out on that line, right away. Any help would be greatly appreciated,
I have been banging my head for two days on this one.
Thanks,
Matt

Similar Messages

  • Package does not exist error-message

    When I try to compile a java servlet with the following piece of code I get a compilation error referring to the import statement.
    I have just included the initial import statements. A large number of errors follow, as a result of this 'package does not exist error-message'.
    Has anyone encountered this or any ideas?
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.* ;
    import java.io.* ;
    import java.sql.* ;
    import com.ericsson.snf.mps.mppapi.mtlr.*;
    The error messages come from the 'import com.ericsson.snf.........' statement.
    I am trying to integrate ericsson software, into my application.
    Thanks,
    java-mobile-user

    That's probably because you are trying to integrate j2me suff with j2se/ee. That won't work without los of extra work..

  • "SAP_PAYSLIP_US does not exist" error in Salary statement iView of ESS

    Hi all,
    We have SAP EP7.0 (NW 2004s) with the ESS business package for MySAPERP 2005.Most of our iViews of the business package are working fine,but some are givig problems.
    When we try to launch the Salary Statement iView under BEnefits and Payments Workset we get the "SAP_PAYSLIP_US does not exist" error.
    The form name SAP_PAYSLIP_US is active and also we have specified the form name in the SPRO settings.
    If we change the form name (for e.g.UF01) then the error displayed is "UF01 does not exist".
    Can anyone point out as to what the problem is.
    Is there any settings we are missing?
    Thanks,
    Pradeep Shetty

    Hi To all!
    The Form SAP_TIMESLIP doesn't exist. The correct form to use in the feature HRFOR is SAP_TIM_99_0001 or SAP_TIM_99_0002.
    Activate the form in transaction HRFORMS.
    SAP didn't release the form SAP_TIMESLIP.
    Hope this information is usefull.
    Sónia

  • Why an "ORA-01006: bind variable does not exist" error when no dynamic SQL?

    Hi all,
    While running PL/SQL in SQL Developer 3.2.09, I got the following error after adding a section of code. Note that nothing I'm doing has anything to do with dynamic SQL (which is what 01006 is supposedly about).
    Error report:
    ORA-01006: bind variable does not exist
    01006. 00000 - "bind variable does not exist"
    *Cause:   
    *Action:
    After commenting out the new chunk of code that caused the error, the error persisted.
    After deleting the new code, the error went away.
    What the heck!?!? If you have any ideas, please lay 'em on me.
    Thanks so much,
    Kim
    P.S. It's a few hundred lines of code, so I didn't append it to this post and I don't see how to attach a file.

    Let's review a few facts:
    1. You post a question in the sql developer forum that has no apparent relation to sql developer. You could confirm this by doing the test using sql*plus or some other tool.
    2. You provide NO information about what database you are even using. The only clue is an ORA -xxx message that means SOME version of Oracle is involved.
    3. You provide NO information about what the four digit version of Oracle DB is being used.
    4. You provide NO information about what the code in general or what that specific section of the code is even doing. The code could be doing literally anything that Oracle is capable of doing.
    That's a bit like calling a mechanic you don't know, telling them your car is making a funny noise and asking them what the problem with your car is.
    >
    While running PL/SQL in SQL Developer 3.2.09, I got the following error after adding a section of code. Note that nothing I'm doing has anything to do with dynamic SQL (which is what 01006 is supposedly about).
    Error report:
    ORA-01006: bind variable does not exist
    01006. 00000 - "bind variable does not exist"
    *Cause:
    *Action:
    The error gives no indication of where the error occurred in the code.
    >
    Your first clue that your troubleshooting method is seriously flawed is when you make statements that aren't supported by any evidence at all but appear to be nothing but your opinion.
    Your second clue is when those statements appear to directly contradict what Oracle is telling you.
    I'm talking about these two statements you make; which you state as if they were universal truths
    >
    nothing I'm doing has anything to do with dynamic SQL
    (which is what 01006 is supposedly about).
    >
    If thoe were true then your 'unstated' conclusion appears to be that Oracle is wrong in saying 'bind variable does not exist'
    Sorry - but I would place my money on Oracle.
    I'm sure the above may sound harsh - it is intended to be. My four major rules (there are more) when troubleshooting Oracle problems.
    1. Assume that Oracle is CORRECT when it tells you there is a problem.
    2. Assume that you are WRONG if your opinion conflicts with what Oracle is telling you - see rule #1.
    3. Don't make ANY other assumptions. You can form hypotheses but don't state them as facts until they are proven.
    4. Your 'opinion' is only useful to the extent that it can help you form meaningful hypotheses - see rule #3.
    >
    To reiterate, there is no dynamic SQL in the code.
    >
    To reiterate - if, as you state, that error relates to dynamic SQL and bind variables then it can not be disputed that:
    ORACLE DOESN'T AGREE WITH YOU!
    So let's try it my way and hypothesize that Oracle is correct (see rule #1 above).
    Then by definition this statement by Oracle is correct
    >
    ORA-01006: bind variable does not exist
    >
    And that should immediately raise this question:
    1. where might there be a bind variable that does not exist?
    which leads to a prerequisite question:
    2. where are ALL of the bind variables that might be being used?
    Question #2 is where you need to start your search. Here are at least five possibilities (there are more)
    1. your code - this should be easiest to check and you state that your 'anonymous' block does not have any.
    2. a table trigger - triggers that use the :NEW, :OLD or :PARENT pseudocolumns. Those psuedocolumns are BIND variables and the trigger code that uses them is, by definition, dynamic sql.
    3. a pl/sql package/function/procedure - any of these might be being called from trigger code or a view that is involved in the transaction. Any of these could take a parameter and/or use bind variables and cause your problem if that bind variable does 'not exist'.
    4. a functional index - can also trigger code from #3 above
    5. an audit trigger that logs the audit activity that your user or your code is performing. This code could be trying to use a SYS_CONTEXT environment variable that has not been created and cause a 'bind variable does not exist' error.
    See rule #1 - Oracle is CORRECT. Until you have identified and examined ALL of the code (not just your anonymous block) being executed and ruled it out you should continue with the hypotheses that Oracle is CORRECT.
    In the (extremely) unlikely event that you can show that Oracle is NOT correct you should file a SOR with Oracle.

  • 10gLiteR3 publishing ORA-00942: table or view does not exist error

    Hi All,
    I am encountering table or view does not exist error while publishing using the api.
    Below is the code:
    try {
    consolidatorManager.openConnection("MOBILEADMIN","PASSWORD", ADMIN_JDBC_URL);
    mobileResourceManager = new MobileResourceManager("MOBILEADMIN","PASSWORD",ADMIN_JDBC_URL);
    consolidatorManager.createPublicationItem(EXT_CONN, "RMT_TEST_TABLE" , "MOBILEADMIN","RMT_TEST_TABLE", "F", "SELECT * FROM MOBILEADMIN.RMT_TEST_TABLE", null, null);
    consolidatorManager.addPublicationItem(mobileResourceManager.getPublication("/mobileApp"),"RMT_TEST_TABLE",null, null, "S", null, null);
    } catch (Exception e) {
    e.printStackTrace();
    When I execute the above code it does not throw any exceptions but I see the below error in err.log. I,U,D triggers are getting created on the remote table, CMP, CFM, CVR,CLG tables are also created, I also see primary key for this table in VPKS. Publishing seems to be fine but I see the below error in err.log.
    java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:651)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2117)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2331)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:366)
         at oracle.lite.sync.Subscription.getVirtualTablePrimaryKey(Subscription.java:7522)
         at oracle.lite.sync.Subscription.getTablePrimaryKey(Subscription.java:7365)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2334)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2157)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2129)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2108)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2093)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2079)
         at oracle.lite.sync.ConsolidatorManager.createPublicationItem(ConsolidatorManager.java:1253)
    I am not able to figure out what table it is looking for. Any ideas why this is happening?

    check the MGP compose process, is it also showing the error?
    If it is them at some point in 10.2 Oracle introduced a 'feature' (ie: bug) that causes problems to the housekeeping routines when new versions of publication items are published
    In 10.0 and early 10.2 when making changes to publication items VIEWS called CPV$.. were created to log the column list for each version of a publication item, and check if you are making changes when you publish. In the case of old versions, once all clients have synchronised and been moved to the latest version it tries to delete this view.
    at some point the publish started creating TABLES instead of views (but using the same naming convention ie: CPV$..). This works fine as far as the logging of changes and old column lists, but the housekeeping called at the end of the publish and GP process still trieds to do a DROP VIEW and this causes the error.
    The only way of clearing this i have found is to look at the log file to get the name of the object that it is trying to drop, set up a view script to create a dummy view with the list of columns in the table, drop the table and then create the view. It then gets dropped on the next MGP cycle and the error goes away
    If the error is not showing up in the MGP process, only in the publish, and your changes appear to be publishing OK, then the problem is likely to be with a snapshot definition AFTER the change you have made - real pain to identify on re-publish - possibly missing schema name in the snapshot definition

  • "Scenario does not exist"error

    Hi All,
    R/3 system is upgraded with HRSP70 and since then we have issue in MSS. We get error scenario does not exist for Reporting tab in portal . Also if we manually test service HRWPC_FC_EXEC we get "Scenario does not exist" error. Could anyone please help where and how to maintain scenarios?
    And explain what is exactly a scenario ?Please treat this as urgent as we are having widespread error due to this.
    Regards,
    Jalpa Shukla

    Please check SAP Note No. 969401 in this regard.
    Hope this helps.
    Best Regards

  • File does not exists error

    I am using OAS 10g. Looking through HTTP_Server logs, I see the following error repeating very often. I am a Forms developer unfamiliar with Java. Do you have ideas about this error or any suggestions as to what steps I should take:
    [Fri Jun 19 17:06:58 2009] [error] [client 123.123.123.123] [ecid: 1245445618:456.456.456.45:4224:4256:265,0] File does not exist: c:/oracle/ora904astest/forms90/java/java/awt/KeyboardFocusManager.class
    [Fri Jun 19 17:06:59 2009] [error] [client 123.123.123.123] [ecid: 1245445619:456.456.456.45:4224:5208:169,0] File does not exist: c:/oracle/ora904astest/forms90/java/java/awt/KeyboardFocusManager.class
    [Fri Jun 19 17:07:00 2009] [error] [client 123.123.123.123] [ecid: 1245445620:456.456.456.45:4224:5464:243,0] File does not exist: c:/oracle/ora904astest/forms90/java/oracle/forms/registry/default.dat
    [Fri Jun 19 17:07:49 2009] [error] [client 123.123.123.123] [ecid: 1245445669:456.456.456.45:4224:1308:275,0] File does not exist: c:/oracle/ora904astest/forms90/java/oracle/ewt/alert/resource/AlertBundle_en_US.class
    [Fri Jun 19 17:07:49 2009] [error] [client 123.123.123.123] [ecid: 1245445669:456.456.456.45:4224:4784:315,0] File does not exist: c:/oracle/ora904astest/forms90/java/oracle/ewt/alert/resource/AlertBundle_en_US.class
    [Fri Jun 19 17:07:49 2009] [error] [client 123.123.123.123] [ecid: 1245445669:456.456.456.45:4224:4388:254,0] File does not exist: c:/oracle/ora904astest/forms90/java/oracle/ewt/alert/resource/AlertBundle_en_US.properties
    Thank you.

    Refer following note on MetaLink:
    ID: 238979.1 How to Prevent "File does not exist" Errors in the error_log?
    Thanks
    Shail

  • Tried to add JUnit Test in Eclipse -- "Test type does not exist" error

    Hi guys,
    I'm developing an assignment whose details I won't bother going into -- it's enough to say that we were introduced to JUnit testing a couple of weeks ago in university tutorials, and I've stupidly tried to add one to my project without fully understanding it all. This is in eclipse 3.1.1.
    Basically, I followed eclipse's built-in tutorial called "Writing and running JUnit tests ".
    1) Created class "TestFailure" with method "testFailure".
    public void testFailure() throws Exception {
        fail();
    } 2) This then appeared as a .java file in my project (as well as on my UML diagram, courtesy of Omondo's UML plugin).
    3) I decided it was too risky mucking around with this stuff in a "live" project, so went ahead and deleted the TestFailure icon on my class diagram.
    4) I closed down eclipse.
    5) I went ahead and deleted TestFailure.java and TestFailure.class from my project folders.
    6) I opened my project again, and tried to execute...
    ... and now I keep getting a Test type does not exist error when I try and run it.
    How on earth do I get rid of this?
    Any advice/guidance is greatly appriciated -- oh, how I wish I'd not started messing with JUnit testing!!! :)

    Um, okay -- I fully hold my hands up and admit that I don't know what I'm doing with JUnit testing (we only had a half hour intro to it) but figured I may as well learn by using the official tutorials. It's always a good place to start! Although obviously using a current assignment isn't the best idea ;)
    I was executing my main class (obviously with my main method in there) to execute the program after I'd deleted test case classes, but strangely I've just shut down my machine and restarted and it's working fine. I'm not sure what the deal is here -- lesson learnt though, study new topics on a dummy project! :)
    Anyway, if I waited until I understood the software and code I'm producing to its fullest, I think hell'd freeze over before I executed any code! :) Using a tutorial to learn a new aspect of software I'm already familiar with wasn't a bad move, IMHO. Just using it on this particular project was... Needless stress and all that.

  • DBCA in silent mode gives "template does not exist" error

    We successfully created a database using the DBCA in silent mode like this:
    dbca -silent -responseFile dbca.rspThen, attempting to create a second database on the same machine with a slightly different response file, we get the following error:
    dbca -silent -responseFile dbca.rsp2
    Template General Purpose does not exist. Please specify an existing template for database creation.The "General Purpose" template was used in the original database creation. It does exist. No logfile is created. Any ideas what could be causing this?

    We never did get to the bottom of the mysterious "template does not exist" error, but went with a solution that is better:
    1. we used the already-existing database to create a clone template:
    dbca -silent -createCloneTemplate -sourceDB OLD_SID -sysDBAUserName sys
       -sysDBAPassword XXXX -templateName old_sid_copy.dbc
      -maintainFileLocations true
      -datafileJarLocation /local/opt/oracle/product/10.2.0/assistants/dbca/templates (Note the use of the -maintainFileLocations switch)
    2. edited the template file, replacing all instances of OLD_SID with NEW_SID
    /local/opt/oracle/product/10.2.0/assistants/dbca/templates/old_sid_copy.dbc
    3. create the clone using the new template
    dbca -silent -createDatabase -templateName old_sid_copy.dbc
      -gdbname NEW_SID.MYHOST.COM -sid NEW_SID
      -datafileJarLocation /local/opt/oracle/product/10.2.0/assistants/dbca/templates
      -responseFile NO_VALUE -characterset WE8ISO8859P1

  • ESS Salary statemenr: Form Does not exist error

    Hi Experts,
    As mentioned in may threads, I have changed the form name for salary statement to the custom form name in SPRO- --> HRFOR
    But the portal displays "Form does not exist" error. Could not find a solution in any existing post on sdn.
    Urgent help needed.
    Thanks,
    Shobhit

    Hi,
    If your payslip form is desinged in PE51, then follow these steps.
    Employee Self-Service-> Service-Specific Settings-> Benefits and Payment-> Salary Statement-> Form Using HR Forms Editor (PE51)
    a. Edit Feature HRFOR: Maintain the constant $CEDT$ for MOLGA 40 RCLAS  +01(03).
    b. Enter Payslip variant in EDTIN feature
    c. Maintain smartform name in EDPDF
    If your payslip form is designed in HRFORMS, then enter the form name in HRFOR feature and enter the variant in EDTIN.
    Cheers!!
    Ashutosh

  • Time series does not exist, Error in Source System

    Hi friends,
    I am loading the data from APO system and i am getting the below error after scheduling the info Packs.. can you analyze and let me know your suggestions
    Error Message : Time series does not exist,
                             Error in Source System
    I have pasted the ststus message below
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    Thanks,
    YJ

    Hi,
    You better search for the notes with the message ""Time series does not exist". You will get nearly 18 notes. Go through each note and see the relevence to your problem and do the needful as it is mentioned in the note .
    Few notes are:
    528028,542946,367951,391403,362386.
    With rgds,
    Anil Kumar Sharma .P

  • Need urgent help :'The requested resource does not exist error'

    Hi All,
    I am getting 'The requested resource does not exist error' when trying to acess http://machinename:50000/irj
    Even when i access http://machinename:50000, i get the same 'The root directory does not exist' error. I checked in visual admin, there is no other application deployed except my application.
    Any clues? Pls help
    thanks
    bhawna

    HI ,
    Did succeed to solve your problem. I am running into same problem.
    Any help is welcome.
    Thank u very much.

  • RFC destination R/3 Source does not exist., error key: RFC_ERROR_SYSTEM_FAI

    Hi All,
    I am getting the error "RFC destination R/3 Source does not exist., error key: RFC_ERROR_SYSTEM_FAILURE" when planning sequence (IP) is executed. Can some one help me please asap.
    Regards
    Kiran

    Hi,
    Please go to sm59 and check if the RFC connection exists for this source system. If its there, please double click on it and on next screen, go to Menu bar and click on Test-> Connection and then test -> authorisation.
    If you get any error, thats the reason. If you dont find the RFC at all, thats the reason why you got error.
    You may also check WE20 for partner profile, whether it exists or not.

  • ORA-02289: sequence does not exist Error

    When add Entity Attribute Value : adf.object.nextVal('DenialCommentId')
    Value Type: Expression
    Iam getting ORA-02289: sequence does not exist Error in 11g 1.1.3.0 version .How to Solve it .Any solutions please suggest me .Thanx in advance
    Ravi

    try using adf.object.nextValue('DenialCommentId') to find out whether the compiler is looking for a sequence named object in schema adf or not.
    Regards
    Etbin

  • Factory calendor does not exist error during order creation

    Hi,
    I am getting the factory calendor does not exist error while creating the order. For this i will explain the details for this issue and guide me where is the problem.
    we are doing reconfiguration for the new plant in the client. In this client we are now creating new plant and doing the reconfiguration. While creating the order in new plant i am getting the below error message. i have assigned the existing factory calendor of the old plant to new plant in the existing client. i am thinking that factory calendor is not plant based. In work center i have assigned the factory calendor of old plant for the new plant work center. Please guide me.
    Regards,
    Mastan.

    Hi Dogboy,
    Thank You for immediate reply.
    Have you performed all PP configuration for 1007?
    It means i have created order type and order type parameters, availability check,scheduling, conformation steps for the ordre type.
    Master data,routing, bom creted in cewb with change number and assigned to routing in cewb.
    And factory calendor assigned in work center as old plant calendor only.
    Other tahn this nay steps need to consider for creation of order. anything i have missed. Please guide me.
    Have you assigned a factory calendar to plant 1007?
    Factory calendor is not plant specific. i think with in a client  i can assign same calendor to new plant also. anywhere i have not observed the calendor as plant wise. please guide me.
    Have you created a BOM for this material in 1007?
    Have you created a work center in 1007?   Does the work center have a factory calendar that actually exists?
    The above two steps i have done.
    Have you created a routing for this material in 1007, with operations in that only include work centers assigned to 1007, and assigned the routing to this material in 1007?
    Yes.
    Please guide me.
    Regards,
    Mastan.

  • Getting Cost Center Does not exist error when executing BAPI_ACC_GL_POSTING

    Hi Champs,
    I am getting Cost Center Does not exist error when executing BAPI_ACC_GL_POSTING_CHECK.
    But when I checked for the particular Cost center, it is mapped to the same company code the program has got executed.
    Example:
    Cost center 1000/150402 does not exist on 17.11.2009.
    Cost center 1000/150402 does not exist
    Cost center 1000/150402 does not exist on 17.11.2009.
    Cost center 1000/150402 does not exist on 17.11.2009.
    Please let me know if you have any guess on this. It is very critical issue for me.
    Thanks for all your help in advance.
    With Best Regards,
    Ravi kanth Yechuri

    Use 0000150402 not 150402 .
    Rob

Maybe you are looking for