Classpath of Javabeans in Eclipse

    myApp
       |___WEB-INF
       |       |___classes
       |       |        |___userBean.class
       |       |___src
       |             |___userBean.java
       |
       |___Login.jsp
       |___userAction.jsp
       |___userInfor.jspThe directory of myApp in my Eclipse likes above.
My problem is that Eclipse always failed on compiling userAction.jsp, and the error shows " userBean can not be solved by type ", I am wondering if the classes directory is right for userBean, or I missed some configuration?
Please help!

My problem is that Eclipse always failed on compiling
userAction.jsp, and the error shows " userBean can
not be solved by type ", I am wondering if the
classes directory is right for userBean, or I missed
some configuration?This seems to be a common error... you should have a package for the beans and place them accordingly in WEB-INF/classes.
Example: If beans are packaged in beans i.e. package beans;then the beans should be placed in WEB-INF/classes/beans
Cheers!
***Annie***

Similar Messages

  • Help with jsp and javaBean in eclipse/Tomcat

    Hi,
    I am new to JSP and JavaBean. I am going through tutorial for a jsp page that uses a javaBean. I am using eclipse to create jsp page and the java bean.
    My eclipse project "Date" has five package as under:-
    1. Deployment Descriptor
    2. Java Resources: src
    3. build
    4. WebContent
    I have my data.jsp page in WebContent/WEB-INF/ folder. When I just run date.jsp in a browser as: http://localhost:8080/Date/date.jsp, it gets launched into the browser correctly. But when I add a JavaBean "TimeFormatterBean.java" in the Java Resources:src folder and use it in date.jsp page, I get errors as under:-
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 5 in the jsp file: /date.jsp
    TimeFormatterBean cannot be resolved to a type
    2: pageEncoding="ISO-8859-1"%>
    3: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    4:
    5: <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    6:
    7: <html>
    8: <head>
    The data.jsp page is as under:-
    <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
         <h1> Date JSP </h1>
         <p> The  current time is:
         <%= new java.util.Date() %>
         <jsp:getProperty name="formatter" property="name"/>
         </p>
    </body>
    </html>I can see "TimeFormatterBean.class" in build/classes folder.
    If anyone could please help me out with this, it would be very helpful
    Thanks a lot!

    You probably should place TimeFormatterBean inside a package, or maybe you could try importing it , even if it�s in the default package, with something like this <%@ page import="TimeFormatterBean" %> at the top

  • [svn:bz-trunk] 18389: Eclipse Project Classpath issues:

    Revision: 18389
    Revision: 18389
    Author:   [email protected]
    Date:     2010-11-01 03:49:03 -0700 (Mon, 01 Nov 2010)
    Log Message:
    Eclipse Project Classpath issues:
    - Fixing class path entries.
    - Instead of jars pointing to the actual projects.
    Modified Paths:
        blazeds/trunk/development/eclipse/projects/java/blazeds-proxy/.classpath
        blazeds/trunk/development/eclipse/projects/java/blazeds-team.war/.classpath

    Figured out that it was failing while building a product for MacOS. I updated Tycho to use version 0.15.0 and all work well.
    For more information on the bug (case sensitive file systems) see:
    bugs.eclipse.org/bugs/show_bug.cgi?id=349877

  • Eclipse Community Forums

    Hi,
    I have a problem using Xtext generated ecore files in both Eclipse and standalone Java. In a nutshell, Xtext generates relative ecore references which work fine in Eclipse for platform:/resource URIs which make it seem like all projects are siblings of each other, but break when loading resources via absolute file:/ URIs when projects are not physically situated in the same directory.
    For example, I have a few Xtext languages that import each other and refer to each other's elements. Xtext generates ecore files for these languages, and they wind up having relative references to each other. I have a com.mecha1.atom.model.query Xtext project whose language generates an AtomQuery.ecore with references to an imported AtomType.ecore that look like this:
    Quote:
    eType="ecore:EClass ../../../../../../../com.mecha1.atom.model.type/src/com/mecha1/atom/model/type/AtomType.ecore#//EntityDecl"
    This works ok in Eclipse because the actual absolute URIs are platform:/resource based and all of the workspace projects are directly referenced via platform:/resource/<project>:
    Quote:
    platform:/resource/com.mecha1.atom.model.query/src-gen/com/mecha1/atom/model/query/AtomQuery.ecore
    platform:/resource/com.mecha1.atom.model.type/src/com/mecha1/atom/model/type/AtomType.ecore
    However on the filesystem these projects exist in different subdirectories:
    Quote:
    file:/Users/esp/Code/mecha1/Atom/atom/data/com.mecha1.atom.model.query/bin/com/mecha1/atom/model/query/AtomQuery.ecore
    file:/Users/esp/Code/mecha1/Atom/atom/core/com.mecha1.atom.model.type/bin/com/mecha1/atom/model/type/AtomType.ecore
    So when the relative path is used to navigate from one ecore model to the other they do not resolve correctly. The relative URIs will also break if resources are loaded from archive:/ URIs e.g. when loaded from classpath bundles via org.eclipse.xtext.mwe.Reader.
    Is there a strategy deal with this? For instance, is there a way to force Xtext to generate absolute URIs for cross references? Then at least I could use the EMF URI map to remap things depending on what context the models are being loaded in.
    Thanks,
    Edwin

    Edwin,
    Comments below.
    On 12/10/2012 9:09 AM, Edwin Park wrote:
    > Hi Ed,
    >
    > Thanks, this helped to put me on the right track.
    >
    > I also moved my ecore/genmodel files into a non-source 'model'
    > directory in my plugin according to your suggestion. This avoids the
    > files being duplicated in the bin dir as you said, but when I take
    > them out of the classpath like this, I can no longer reference them in
    > the Xtext editor.
    Yes, because it doesn't index them until they commit this patch I provided:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=390411
    >
    > For example, I modified the default mydsl sample to include a
    > reference to an EClass in the greeting:
    >
    >
    > grammar org.xtext.example.mydsl.MyDsl with
    > org.eclipse.xtext.common.Terminals
    >
    > generate myDsl "http://www.xtext.org/example/mydsl/MyDsl"
    >
    > import "http://www.eclipse.org/emf/2002/Ecore" as ecore
    >
    > Model:
    > greetings+=Greeting*;
    >
    > Greeting:
    > 'Hello' eClass=[ecore::EClass|QualifiedName] '!';
    >
    > QualifiedName:
    > ID ('.' ID)*;
    >
    >
    > And I have a plugin com.mecha1.atom.mysql that looks like this:
    >
    > com.mecha1.atom.mysql/model/mysqlConfig.ecore
    > com.mecha1.atom.mysql/model/MysqlConfig.genmodel
    >
    > com.mecha1.atom.mysql/plugin.xml:
    >
    > <?xml version="1.0" encoding="UTF-8"?>
    > <?eclipse version="3.0"?>
    >
    > <!--
    > -->
    >
    > <plugin>
    >
    > <extension point="org.eclipse.emf.ecore.generated_package">
    > <package
    > uri="http://www.mecha1.com/atom/mysql/MysqlConfig"
    > class="com.mecha1.atom.mysql.mysqlConfig.MysqlConfigPackage"
    > genModel="model/MysqlConfig.genmodel"/>
    > </extension>
    >
    > </plugin>
    >
    >
    > com.mecha1.atom.mysql/build.properties:
    >
    > #
    >
    > bin.includes = .,\
    > META-INF/,\
    > plugin.xml,\
    > plugin.properties,\
    > model/
    > jars.compile.order = .
    > source.. = src/,\
    > src-gen/,\
    > xtend-gen/
    > output.. = bin/
    >
    >
    > When I launch a hosted Eclipse and create a .mydsl file in a plug-in
    > project with the com.mecha1.atom.mydsl plugin specified as a
    > dependency, the content assist for the eClass attribute does not show
    > anything. However if the ecore files are in the classpath of the
    > dependency plugin, the content assist will show them.
    Yes, that's the bug I referred to.
    >
    > Another thing I noticed is that if I include the org.eclipse.emf.ecore
    > plugin, the Xtext content assist will correctly show the contents of
    > the Ecore.ecore, which is also in a model directory in the plugin.
    But it's an actual deployed bundle so it's actually on the classpath but
    the PDE doesn't properly put the model folder on the classpath, only the
    bin folder.
    > Is there something else I need to do to get Xtext to recognize the
    > ecore file for cross reference scoping/content assist if the ecore is
    > not in the classpath?
    >
    > Thanks,
    > Edwin
    >
    >

  • Error while deploying the Eclipse Link Application into Server

    Hi guys,
    i tried to deploy the application using Eclipselink into the server. but i got the following exception:
    Error processing persitence unit EJBModel of module WLEclipseLinkDemo-ejb.jar: Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit EJBModel: java.lang.ClassNotFoundException: org.eclipse.persistence.jpa.PersistenceProvider
    Full StackTrace:
    Failure occurred in the execution of deployment request with ID '1243622816661' for task '1'. Error is: 'weblogic.application.ModuleException: ' weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387) at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) weblogic.deployment.EnvironmentException: Error processing persitence unit EJBModel of module WLEclipseLinkDemo-ejb.jar: Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit EJBModel: java.lang.ClassNotFoundException: org.eclipse.persistence.jpa.PersistenceProvider at weblogic.deployment.PersistenceUnitInfoImpl.createEntityManagerFactory(PersistenceUnitInfoImpl.java:322) at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:123) at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:331) at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:245) at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:63) at weblogic.ejb.container.deployer.EJBModule.setupPersistenceUnitRegistry(EJBModule.java:209) at weblogic.ejb.container.deployer.EJBModule$1.execute(EJBModule.java:310) at weblogic.deployment.PersistenceUnitRegistryInitializer.setupPersistenceUnitRegistries(PersistenceUnitRegistryInitializer.java:62) at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:381) at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    but one thing, same EAR file is working in one server, but in another server it is giving the above exception.
    i copied all the jars to server as same as working server. still i am getting the same error.
    can anyone help me.
    Rajesh

    For WLS 10.3, I think that Kodo is the default JPA provider unless you apply a patch for EclipseLink/TopLink. Perhaps the WLS environments have installed different patches?
    See the comment in this blog: http://msikora.typepad.com/michael_sikora_on_java_ee/2008/10/converting-to-weblogic-103---part-2.html
    I think that it is a public patch when you run Smart Update.
    There's also a detailed explanation here of the classpath options:
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    You may also get some help in the JPA forum:
    TopLink/JPA

  • Eclipse and Tomcat Policy Agent

    I have installed the Tomcat Policy Agent using the agentadmin script under Windows. If I run Tomcat normally using the start.bat script, everything is fine. However, if I run Tomcat through Eclipse's Server configuration, there is a problem fining the AMAgentFilter class.
    How do I set up the classpath for Tomcat in Eclipse to work with the Policy Agent?
    Thanks.

    How can i compile aspectJ (*.aj) files in WSAD 5.1.1 powered by Eclipse 2.1.3. I amn't getting AJDT (AspectJ development tool) plugin for Eclipse 2.1.3. I am only getting AJDT plugins for eclipse 3.x onwards.
    Note: Above devolpement kit (WSAD 5.1.1) is a constraint.
    Can i upgrade the my eclipse version in WSAD 5.1.1.

  • Issue JavaBeans with Forms

    Hello Everyone,
    I would like to know if someone can tell me what i'm wrong.
    I have tryed JavaBean AWTFileDialog to see how it's works inside a Forms.
    When i click button, the FileDialog open, everything looks good.
    I try to create a JavaBean with Eclipse.
    My Code
    package oracle.forms.fd;
    import java.awt.Component;
    public clas myJB extends Component {
          public string getTextSample() {
               String sText = "";
               sText = "foobar";
               return sText;
    I export to jar file in my oracle form directory.
    edited my formweb.cfg file to add myJB jar file like i've done with AWTFileDialog.
    but when i try in my form, the return value are null
    my form code.
    When-new-form-instance trigger
    FBean.Register_Bean('CTRL.BEAN', 1, 'oracle.forms.fd.ADLog');
    and i have a button to get the value like this
    cV_co_retr := FBean.Invoke_Char('CTRL.BEAN', 1, 'getTextSample');
    what i've done wrong?
    I miss something?
    thanks for help.

    Hi, thanks again for your help.
    I use JRocket 1.6.14 R27.6.5 32 bit, my Forms Developer version is 11.1.1.2.0
    i would like to sign my jar file, but i really start with this kind of dev.
    i've take a look at this link
    http://docs.oracle.com/javase/tutorial/deployment/jar/signing.html
    when i try the
    jarsigner jar-file alias 
    i get this error about unable to load .keystore file (unable to find specified file)
    how i can create keystore file? with something like this ? https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
    keytool -genkey -alias mydomain -keyalg RSA -keystore keystore.jks -keysize 2048
    Does that mean i need to resign my jar on each domain?
    Thanks ..
    EDIT : I think i miss something, i have created my keystore file and compiler my jar with jar -cvf myjava.jar myjava.java
    Does it's possible it's because i don't have JInitiator? if i try with any other jar from this site http://forms.pjc.bean.over-blog.com/ all works good, if i try with my jar file, nothing woks.
    i have compiled created java from pjc.beans.over-blog and the jar stop working.
    so i'm really lost, what i'm doing wrong to create my jar file.
    i have tryed the 3 files given by FrancoisDegrelle to create keystroke at this link https://forums.oracle.com/thread/2154907 and it sound good, but my jar not working again.
    thanks
    Ce message a été modifié par : Neimad

  • Sincere Eclipse 3.0.2 build problems using a package for all Eclipse Java p

    Hi,
    I had the following problem:
    - jar-file put into a directory (for jdbc-access)
    - Environment variable set in Window/preferences/Java/BuildPath/ClassPathVariables:
    Name: classpath (could be any other name, does not correlate with WIN env. var.)
    Path: C:\java\eclipse\jars\mysql-connector-java-3.1.8-bin.jar
    - class-file was automatically built by Eclipse, error message:
    �. java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    In Windows I set the classpath environment variable to
    classpath=.;C:\java\eclipse\jars\mysql-connector-java-3.1.8-bin.jar
    In Windows/i.e., a DOS-Shell. It works
    As it didn�t work in Eclipse, I deleted Eclipse and installed it again (from an elder version I had on another workstation)
    After starting Eclipse asked me to rebuild all -> Yes (it then needed some time to do so)
    Then it worked
    So, right here I thought I knew how to go on in other projects using this jar-file, but:
    The same problem appears in another project, but it works in WIN/DOS command line, but not in Eclipse. Project/Clean und rebuilding automatically or manually doesn�t help.
    As a workaround for this project I did in
    Project/Properties/Java/BuildPath/Projects I marked a link to the project where it works (see above), and now it works, too.
    But I am not satisfied, I don�t like trial and error solutions.
    I suppose that Project/Clean doesn�t really clean properly.
    Has anybody made similar experience and knows the real solution?
    Thanks
    Michel

    JediKnight wrote:I didn't find it in AUR
    What search term did you use??  Here is monodevelop-git already in the AUR.
    It seems it may have been abandonded, but perhaps you could take over that package rather than starting a new one.
    Additionally, a patch is applied in that PKGBUILD.  Perhaps that could be needed to solve your problem.

  • Classpath in Web Applications

    Dear all,
    I am fairly new to JSF. I used to develop Swing applications.
    It seems like I cannot get something right. Let's say my design is the following:
    1. database
    2. data access layer (hibernate)
    3. business layer to bring the pieces together
    4. swing layer / web layer
    I have just started working on the web layer. My business layer requires some configuration files (e.g. hibernate, logs etc...). Those are stored in a different project. Ideally, I would like to refer those files in the classpath of the web application without copying them.
    How can I do that?
    Thanks,
    Grege

    Thanks for your reply,
    That is the point, how do I modify the classpath of the webapp? I know the following are in there:
    - WEB-INF/classes
    - WEB-INF/lib
    But is that in the META-INF/MANIFEST.MF that I should add classpath entries?
    In Eclipse, I can link sources to the web project but I am not 100% satisfied with this option since the project must be rebuilt every time a config file changes.
    With Swing apps, I would just handle the classpath in my launching script...
    Thanks Again,
    Grege

  • [svn] 4261: Fix Eclipse project files for BlazeDS/trunk.

    Revision: 4261
    Author: [email protected]
    Date: 2008-12-09 05:51:20 -0800 (Tue, 09 Dec 2008)
    Log Message:
    Fix Eclipse project files for BlazeDS/trunk. There were a number of problems. The classpath for the Java projects still included references to the backport jars which we don't have in the tree any more because we no longer support JDK 1.4. The actionsript projects hadn't been updated to reference the new location of things in the Flex 4 SDK so paths to things like playerglobal.swc, resource bundles and Assets.swf were wrong. All projects are building for me now but please let me know if you have any problems.
    Modified Paths:
    blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.actionScriptProperties
    blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.flexLibProperties
    blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.project
    blazeds/trunk/development/eclipse/projects/flex/3.0/rpc/.actionScriptProperties
    blazeds/trunk/development/eclipse/projects/flex/3.0/rpc/.project
    blazeds/trunk/development/eclipse/projects/java/blazeds-core/.classpath
    blazeds/trunk/development/eclipse/projects/java/blazeds-opt/.classpath

    If you have issues with Eclipse please ask question in Eclipse forums or just check documentation.

  • How to execute jsp.servlet program in eclipse with small example

    This is sasidhar,
       How to set classpath pf tomcat to eclipse.
    and how to run jsp and servlets in eclipse 3.o
    thanks&regards
    sasidhar

    HI,
    Try these links
    http://help.sap.com/saphelp_nw04/helpdata/en/64/620a2ae361344abf47462809eb5388/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/baba3eb645dc61e10000000a114084/frameset.htm

  • Installing Eclipse  gives runtime error

    hi ,
    i have jdk1.4 installed on my m/c as well in classpath
    I am installing Eclipse.
    i m getting the error
    MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.RuntimeException: Could not find framework
         at org.eclipse.core.launcher.Main.getBootPath(Main.java:357)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:174)
         at org.eclipse.core.launcher.Main.run(Main.java:638)
         at org.eclipse.core.launcher.Main.main(Main.java:622)
    what should i do?
    Thanks

    now ehen i m trying vm option i m getting
    A Java Runtime or Java Development Kit must be availabale to run Eclipse , No Java Virtual Machinewas found after searching C:\j2sdk1.4.2_05\bin\javaw.exe
    what shall i do ?
    i have put in calsspath C:\j2sdk1.4.2_05\bin\javaw.exe
    thnx

  • Diagnosing Eclipse crashes

    Ever since my last system update eclipse crashes for no apparent reason.
    I have determined that it is not due to lack of memory, because the heap status in eclipse always shows that memory is available when eclipse crashes.
    I have Eclipse 4.3.2 installed via pacman. And jdk7-openjdk, jre7-openjdk and jre7-openjdk-headless also installed via pacman. (This setup was working perfectly until a few days ago)
    This is my /usr/share/eclipse/eclipse.ini
    -startup
    plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140116-2212
    -product
    org.eclipse.epp.package.standard.product
    --launcher.defaultAction
    openFile
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    --launcher.defaultAction
    openFile
    --launcher.appendVmargs
    -vmargs
    -Dosgi.requiredJavaVersion=1.6
    -XX:MaxPermSize=512m
    -Xms512m
    -Xmx1024m
    This is a log (workspace/.metadata/.log) when the eclipse crashed:
    !SESSION 2014-03-28 18:42:31.757 -----------------------------------------------
    eclipse.buildId=4.3.2.M20140221-1700
    java.version=1.7.0_51
    java.vendor=Oracle Corporation
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=pt_PT
    Framework arguments: -product org.eclipse.epp.package.standard.product
    Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.standard.product
    !ENTRY org.eclipse.m2e.logback.appender 2 0 2014-03-28 18:43:05.707
    !MESSAGE CatalogItem org.eclipse.m2e.discovery.lifecyclemapping.m2e-egit does not contain lifecycle mapping metadata
    !ENTRY org.eclipse.m2e.logback.appender 2 0 2014-03-28 18:43:05.711
    !MESSAGE CatalogItem org.eclipse.m2e.discovery.lifecyclemapping.m2e-subversive does not contain lifecycle mapping metadata
    !ENTRY org.eclipse.m2e.logback.appender 2 0 2014-03-28 18:43:05.713
    !MESSAGE CatalogItem org.eclipse.m2e.discovery.lifecyclemapping.m2e-subclipse does not contain lifecycle mapping metadata
    !ENTRY org.eclipse.m2e.logback.appender 2 0 2014-03-28 18:43:17.747
    !MESSAGE Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
    (this message about UTF-8 is repeated some more times, removed for clarity)
    !ENTRY org.eclipse.m2e.logback.appender 2 0 2014-03-28 18:44:11.844
    !MESSAGE Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
    This is a log returned by running
    $ /usr/share/eclipse/eclipse -clean -consoleLog -debug
    Start VM: /usr/bin/java
    -Dosgi.requiredJavaVersion=1.6
    -XX:MaxPermSize=512m
    -Xms512m
    -Xmx1024m
    -jar /usr/share/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    -os linux
    -ws gtk
    -arch x86_64
    -showsplash /usr/share/eclipse//plugins/org.eclipse.platform_4.3.2.v20140221-1700/splash.bmp
    -launcher /usr/share/eclipse/eclipse
    -name Eclipse
    --launcher.library /usr/share/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140116-2212/eclipse_1508.so
    -startup /usr/share/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    --launcher.appendVmargs
    -exitdata 7c002a
    -product org.eclipse.epp.package.standard.product
    -clean
    -consoleLog
    -debug
    -vm /usr/bin/java
    -vmargs
    -Dosgi.requiredJavaVersion=1.6
    -XX:MaxPermSize=512m
    -Xms512m
    -Xmx1024m
    -jar /usr/share/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    Install location:
    file:/usr/share/eclipse/
    Configuration file:
    file:/usr/share/eclipse/configuration/config.ini loaded
    Configuration location:
    file:/home/simao/.eclipse/org.eclipse.platform_4.3.2_1543616141_linux_gtk_x86_64/configuration/
    Configuration file:
    file:/home/simao/.eclipse/org.eclipse.platform_4.3.2_1543616141_linux_gtk_x86_64/configuration/config.ini loaded
    Loading timestamp file from:
    file:/home/simao/.eclipse/org.eclipse.platform_4.3.2_1543616141_linux_gtk_x86_64/configuration/ .baseConfigIniTimestamp
    Timestamps found:
    config.ini in the base: 1393237980000
    remembered 1393237980000
    Shared configuration location:
    file:/usr/share/eclipse/configuration/
    Framework located:
    file:/usr/share/eclipse/plugins/org.eclipse.osgi_3.9.1.v20140110-1610.jar
    Loading extension: reference:file:../../../../home/simao/.eclipse/org.eclipse.platform_4.3.2_1543616141_linux_gtk_x86_64/plugins/org.eclipse.equinox.weaving.hook_1.0.200.v20120524-1707.jar
    eclipse.properties not found
    Framework classpath:
    file:/usr/share/eclipse/plugins/org.eclipse.osgi_3.9.1.v20140110-1610.jar
    file:/usr/share/eclipse/plugins/
    file:/usr/share/eclipse/plugins/../../../../home/simao/.eclipse/org.eclipse.platform_4.3.2_1543616141_linux_gtk_x86_64/plugins/org.eclipse.equinox.weaving.hook_1.0.200.v20120524-1707.jar
    Splash location:
    /usr/share/eclipse//plugins/org.eclipse.platform_4.3.2.v20140221-1700/splash.bmp
    Debug options:
    file:/home/simao/.options not found
    Time to load bundles: 41
    org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized.
    Starting application: 9429
    !SESSION 2014-03-28 18:55:10.163 -----------------------------------------------
    eclipse.buildId=4.3.2.M20140221-1700
    java.version=1.7.0_51
    java.vendor=Oracle Corporation
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=pt_PT
    Framework arguments: -product org.eclipse.epp.package.standard.product
    Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.standard.product -clean -consoleLog -debug
    !ENTRY org.eclipse.core.resources 2 10035 2014-03-28 18:55:21.761
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
    org.eclipse.m2e.logback.configuration: Logback config file: /home/simao/Documents/Workspace/Educare/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.4.0.20130601-0317.xml
    org.eclipse.m2e.logback.configuration: Initializing logback
    org.eclipse.m2e.logback.configuration: eclipse.consoleLog=true
    No bp log location saved, using default.
    [000:000] Cpu: 16.4.2, x4, 3010Mhz, 7989MB
    [000:000] Computer model: Not available
    No bp log location saved, using default.
    [000:000] Cpu: 16.4.2, x4, 3010Mhz, 7989MB
    [000:000] Computer model: Not available
    [000:000] Browser XEmbed support present: 1
    [000:000] Browser toolkit is Gtk2.
    [000:000] Using Gtk2 toolkit
    [000:036] Warning(optionsfile.cc:47): Load: Could not open file, err=2
    [000:036] No bp log location saved, using default.
    [000:036] Cpu: 16.4.2, x4, 3010Mhz, 7989MB
    [000:037] Computer model: Not available
    [000:037] Browser XEmbed support present: 1
    [000:037] Browser toolkit is Gtk2.
    [000:037] Using Gtk2 toolkit
    [000:046] Warning(optionsfile.cc:47): Load: Could not open file, err=2
    [000:046] No bp log location saved, using default.
    [000:047] Cpu: 16.4.2, x4, 3010Mhz, 7989MB
    [000:047] Computer model: Not available
    [000:038] Warning(optionsfile.cc:47): Load: Could not open file, err=2
    [000:038] No bp log location saved, using default.
    [000:039] Cpu: 16.4.2, x4, 3010Mhz, 7989MB
    [000:039] Computer model: Not available
    [000:039] Browser XEmbed support present: 1
    [000:039] Browser toolkit is Gtk2.
    [000:039] Using Gtk2 toolkit
    [000:048] Warning(optionsfile.cc:47): Load: Could not open file, err=2
    [000:048] No bp log location saved, using default.
    [000:049] Cpu: 16.4.2, x4, 3010Mhz, 7989MB
    [000:049] Computer model: Not available
    java version "1.7.0_51"
    OpenJDK Runtime Environment (IcedTea 2.4.5) (ArchLinux build 7.u51_2.4.5-1-x86_64)
    OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
    Can anyone help me debug this problem? I have no idea what to do next since the logs aren't outputing anything I can work with.
    I've also tried to download a zip of eclipse from the official site and then run that eclipse executable but I got the same results.
    Last edited by Lasering (2014-03-28 21:23:30)

    When Eclipse crashes frequently, I often find that a recent webkitgtk update is to blame.
    Try switching to the mozilla swt browser backend.  It solved the problem for me.
    To do that, add the following system property to the "-vmargs" argument within your /usr/share/eclipse/eclipse.ini:
    -Dorg.eclipse.swt.browser.DefaultType=mozilla

  • M2Eclipse (Maven) and Enterprise Pack for Eclipse

    Is there currently any plans for fixing the bug that prevents Maven EAR projects from beeing deployed correctly to weblogic.
    I think the problem is that when deploying it cannot resolve the variable that points to the maven repository.
    I think this problem is not bound to maven, but any configuration of an EAR project where you use a variable to find dependencies.
    Should we file an issue in metalink ?
    Edited by: [email protected] on Jan 14, 2009 9:06 AM

    I am sorry to hear that you guys are having such a difficult time with OEPE in this area. We make every effort to address issues as quickly as they are reported, but it is often difficult to translate a problem description posted on a forum into a working repro. We have had some issues with classpath variables in the past, but to my knowledge all of those issues have been resolved in the latest release of OEPE (11.1.1.2) that came out a few weeks ago. To verify this, I setup several classpath variable based scenarios and they all worked.
    So, let's start at the beginning. Make sure that you are running the latest version of OEPE and then provide the following information:
    1. Operating System
    2. Eclipse Version (3.4 or 3.5)
    3. WLS Version
    4. Brief app shape description. Does your app have an EAR? Which modules reference stuff via cp variable.
    5. The .classpath and .settings/org.eclipse.wst.common.component files from all the projects that are part of the app.
    6. Describe the target of the variable. Is it a jar or a directory? What's contained in it.
    7. What references the types brought in via the variable? Is it a servlet/jsp, an ejb, etc.?
    8. Anything unusual about your app structure or server configuration?
    And finally, do not assume that you are both seeing the same problem. Each of you should provider the above information.
    Thanks and I hope that you have better experience with OEPE in the future.
    - Konstantin

  • Which Eclipse IDE needed

    To create a web application using GWT, JDK 6, JBOSS in my local computer, which Eclipse I should install?
    Before I installed Eclipse for Java Developer, but from some instruction, I was told I should install "Eclipse IDE for J2EE Developer", do I need to re-install it?
    Thanks!
    Lucy

    I already set JAVA_HOME, PATH, CLASSPATH, I also download Eclipse and set default jre for it, I can create java project from Eclipse, it works fine, I also install MYSQL, also install java-mysql connector, so the java project can also access mysql database.
    At weekend, I installed Tomcat , Tomcat plugin, GWT.
    I create a GWT project from Eclipse, I also download StockWatcher sample to run it from my localhost, everything works fine.
    But yesterday I was told we would use JBOSS, Hibernate, Spring, GWT, that's why I remove tomcat and try to install JBOSS.

Maybe you are looking for

  • Photo slideshow order problems

    Im using ATV2 withy mac. I have linked the ATV2 to my folder of digi photos via itunes (ie i am not sharing the photos via iphoto - prefer picasa!). On ATV when i try to play a photo slideshow the photos are played in filename order only. This is a m

  • Connecting a used ipod touch

    Hello, I've just bought a used iPod Touch (4th generation) off ebay, and can't get it to connect to my windows computer. When I turn it on the iPod shows a screen with a cable pointing to the iTunes logo. When I plug it in to the computer nothing hap

  • Bootcamp, XP, MBP 13" and trackpad

    Is there any way to get the trackpad to work under Windows XP on a MBP 13 using bootcamp? I am working a cunning plan to get a devout PC user over to a Mac and a right-click capability is an absolute must on this trackpad. I use the magic trackpad an

  • Garbled text in browser

    When I go to my web browser some of the text show up as garbled text, is there something i can do to fix this problem

  • Web Service "SalesOrderERPBasisDataByElementsQueryResponse"

    Hi all, We are using the Web Service "SalesOrderERPBasisDataByElementsQueryResponse" and input the Customer ID for receiving the Sales Orders from ERP (Ehp6). But the issue is that we are receiving the sales order data without the Item ID and quantit