Eclipse and Classpath Errors

I have been writing some small applications within Eclipse and they run fine within eclipse; however, when I go and export these projects and try to run the JAR file that has been created, I am getting classpath errors.
At the following link https://cms.psu.edu/AngelUploads/Files/buk110/huh.jpg Is a screenshot of my Java Build Path Screen.
Am I doing something wrong? Any help would be appreciated...
Thanks

Problems still are occuring for me. However, I believe I am getting closer to what I need to do.
I have exported the project to a jar file into a folder I've called test. In this "test" folder I've also created a folder called "jars" which consists of all of my external jar files.
I've then edited the manifest file as follows
Manifest-Version: 1.0
Main-Class: keyword_listing
Class-Path: jars/i-text-1.3.jar jars/junit-3.8.1.jar jars/log4j-1.2.9.jar jars/tm-extractors-0.4.jarBut I still get the errors as before. Am I totally going in the wrong direction or am I missing something really simple?

Similar Messages

  • J2ee, eclipse and classpath.

    Hey. First of all, sorry for another classpath-related question. I know there are many solutions for problems like that, my either my problem is different, or I just can't figure out the solution. This post can look like it's Spring-related, but I think it's because an improper configuration of classpath (of course, I can be wrong, because I have no idea how to fix it).
    I'm writing a project in J2EE, using Spring Framework, JSP files, and class files. On the beginning I was using vim and ant to write code, compile and deploy compiled WAR file to tomcat. I had everything configured and running as it should, but as the project grow bigger I decided to switch to Eclipse, because of many features this IDE has to offer.
    In the code, I'm using Spring's Dependency Injection mechanism to configure some classes, so I need to have external XML files that will allow me to change the bechaviour of the application without recompiling the code. This XML files were earlier located in the 'classes' directory, and it was the root of all compiled .class files. I could load this XML files from the code by creating the ClassPathResource("file.xml"). It should load the 'file.xml' from the class-path, but instead it throws at me the FileNotFoundException exception. I've tried to copy this file to 'build' directory that is the root dir for .class files that Eclipse is using and it worked, but after a while this file dissapeared, because i presume Eclipse is cleaning this directory when it wants to, so it's not a good place to put configuration files in.
    So, the question is, is it possible to configure project-specific classpath to, for example, WEB-INF directory? Then I could just put the XML files into this directory and I should be able to load them using any classpath-aware loader class. I don't want to search for the 'correct' folder by using trial-and-error "technique", because I want the solution to work with any servlet container, not only Tomcat. I've tried to change classpath in runtime, but Tomcat said I have to modify it's configuration files, and this is also not acceptable.
    I am sorry if I'm missing something obvious, but ATM my irritation is partly covering my eyes. Thanks for any help.

    Ok, never mind. Like I said, it was a problem with classpath. Changing the classpath from Run As...->(tomcat server)->classpath and adding the WEB-INF directory fixed the problem.

  • Error 403--Forbidden using eclipse and weblogic

    hi,
    i am new here on j2ee
    I am using eclipse3.4 and weblogic 9.1.2 on xp. I am trying to make simple hello world servlet
    here is what i did
    on the eclipse click New and click on Dynamic project
    click on Servlet and write following code for the servlet
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class SecondServlet
    public class SecondServlet extends HttpServlet {
         public void service (HttpServletRequest req, HttpServletResponse res)
         throws IOException
              res.setContentType("text'html");
              PrintWriter out = res.getWriter();
              out.println("<html><head>" + "<title> Hello World </title></head>" +
                        "<h1>Hello Worldasd </h1></body></html>");
    folder structure and file web.xml is created by eclipse itself.
    then i started weblogic from the eclipse
    and i have following error
    http://localhost:7001/SecondServlet/
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

    I do connect with router/modem
    eclipse did create weblogic.xml. here it is
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    <wls:jsp-descriptor>
    <wls:keepgenerated>true</wls:keepgenerated>
    <wls:working-dir>C:\Documents and Settings\Owner\My Documents\jj\java-files\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\SecondServlet</wls:working-dir>
    <wls:debug>true</wls:debug>
    </wls:jsp-descriptor>
    <wls:context-root>SecondServlet</wls:context-root>
    </wls:weblogic-web-app>
    i did create a user proejct domain in weblogic.
    I did try by login through localhost:7001/console. but it didn't work. following is the problem
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.4 503 Service Unavailable
    The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.
    any more suggestion will be helpful.
    this is just a start so please i need to solve this problem so that i can move ahead
    thanks
    Edited by: chitochez on Dec 18, 2008 5:45 AM

  • Cannot make .war file using tomcat with eclipse and ant

    i have made all necesary configuration for deploying application using eclipse and ant for the tomcat server.
    when i start the server by clicking the tomcat icon on eclipse toolbar, the message is prompted that "missing application web.xml and using defaults". i have placed the web.xml file in the web/WEB-INF directory of the source project directory.
    also when i use ant by right-clicking on the build.xml file and choose Run as ant.. the process creates a desired .war file in webapps folder of the tomcat server but that war file does not works.
    where is the error i cannot figure out.
    am attaching the code of build.xml for reference.
    please help.
    build.xml:-
    <project name="BecilCTI" default="compile" basedir=".">
    <property file="build.properties"/>
    <property file="${user.home}/build.properties"/>
    <property name="app.name" value="BecilCTI"/>
    <property name="app.path" value="/${app.name}"/>
    <property name="app.version" value="0.1-dev"/>
    <property name="build.home" value="${basedir}/build"/>
    <property name="catalina.home" value="c:/Tomcat_5.5"/> <!-- UPDATE THIS! -->
    <property name="dist.home" value="${basedir}/dist"/>
    <property name="docs.home" value="${basedir}/docs"/>
    <property name="manager.url" value="http://localhost:8080/manager"/>
    <property name="src.home" value="${basedir}/src"/>
    <property name="web.home" value="${basedir}/web"/>
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="false"/>
    <property name="compile.optimize" value="true"/>
    <!--<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>-->
    <path id="compile.classpath">
    <!-- Include all elements that Tomcat exposes to applications -->
    <pathelement location="${catalina.home}/common/classes"/>
    <fileset dir="${catalina.home}/common/endorsed">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${catalina.home}/common/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="${catalina.home}/shared/classes"/>
    <fileset dir="${catalina.home}/shared/lib">
    <include name="*.jar"/>
    </fileset>
    </path>
    <target name="all" depends="clean,compile"
    description="Clean build and dist directories, then compile"/>
    <target name="clean"
    description="Delete old build and dist directories">
         <echo message="Cleaning all dirs."/>
    <delete dir="${build.home}"/>
    <delete dir="${dist.home}"/>
    </target>
    <target name="compile" depends="prepare"
    description="Compile Java sources">
    <!-- Compile Java classes as necessary -->
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <javac srcdir="${src.home}"
    destdir="${build.home}/WEB-INF/classes"
    debug="${compile.debug}"
    deprecation="${compile.deprecation}"
    optimize="${compile.optimize}">
    <classpath refid="compile.classpath"/>
    </javac>
    <!-- Copy application resources -->
    <copy todir="${build.home}/WEB-INF/classes">
    <fileset dir="${src.home}" excludes="**/*.java"/>
    </copy>
    </target>
    <target name="dist" depends="compile"
    description="Create binary distribution">
    <!-- Copy documentation subdirectories
    <mkdir dir="${dist.home}/docs"/>
    <copy todir="${dist.home}/docs">
    <fileset dir="${docs.home}"/>
    </copy> -->
    <!-- Create application JAR file -->
    <jar jarfile="${catalina.home}/webapps/${app.name}.war"
    basedir="${build.home}"/>
    <!-- Copy additional files to ${dist.home} as necessary -->
    </target>
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    <target name="list"
    description="List installed applications on servlet container">
    <list url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"/>
    </target>
    <target name="prepare">
    <!-- Create build directories as needed -->
    <mkdir dir="${build.home}"/>
    <mkdir dir="${build.home}/WEB-INF"/>
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <!-- Copy static content of this web application -->
    <copy todir="${build.home}">
    <fileset dir="${web.home}"/>
    </copy>
    <mkdir dir="${build.home}/WEB-INF/lib"/>
    </target>
    <target name="reload" depends="compile"
    description="Reload application on servlet container">
    <reload url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    <target name="remove"
    description="Remove application on servlet container">
    <undeploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    </project>

    So is context.xml actually overwriting the settings found in server.xml?I think so. The way I understand it is the the context.xml file saves you from having to edit server.xml. It is preferred for each web app to do its own config, rather than lumping them all together in server.xml.
    And what would be the best way to create the war file? IAt its heart, a WAR is just a zip file with its contents laid out in according to the specification of a web application directory structure.
    So the simplest way to make a war file is to zip up your directory structure with a tool like winzip, and rename it to be myApp.war.
    Regarding ant, I would recommend you take a look through [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
    ]this tutorial. It explains the basics of website layout, configuration and deployment.
    On [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html] this page  in particular, it includes a link to a basic ant file that you can use as a starting point.
    Cheers,
    evnafets

  • Classpath error while building the web dynpro project

    Hi
    I have created an application in which on clicking the button on one view , next view opens and data is displayed in the tables. This data i am giving as static, and for that i have created a java file. this java file is located in the subfolder i have created in the package path i have given. While building the application, i get these two errors :
    1) The project was not built due to classpath errors (incomplete or involved in cycle).
    2) Missing required source folder 'BPOutageTable/BPOT'
    BPOutageTable is the application name, and BPOT is the subfolder in which java file is present.
    This application is similar to "The Master/Detail Viewer Application" example in the tutorials.
    Can anybody please help in this?
    Thanks & regards,
    Anupreet

    Hi,
       You have give your classpath in your "lib" folder of the Dynpro application.
       check your lib folder shows exact class path or not.
    if you wish to add any jar files import it to your lib folder so you will not have compilation problem.
    Hope it helps.If it is then close this thread.
    Regards,
    Guru

  • Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1

    I am learining to build CAF apps in Developer Studio in NW CE 7.1.  Here are my steps and the errors I am getting:
    Open Developer Studio
    Switch to the CA perspective
    File->New->Project
    Choose Development Component under Development Infrastructure
    Press Next
    Choose Composite Application under sap.com
    Choose MyComponents[demo.sap.com] under 'Local Development'
    Vendor: demo.sap.com
    Name: carpool
    Caption: Car Pool
    Language: American English
    Domain: SAP-xApps
    Support Component: CAF-APP (typed in, not chosen)
    Press Finish
    The following error appears:
    Status ERROR
    Plugin : com.sap.ide.metamodel.core.services.eclipse
    code=0
    Internal error
       Plugin name: Metamodel Core
       Internal error  : com.sap.ide.metamodel.core.services.eclipse
       Class      : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
       Method     : computeIdeJarProperties
       Message    : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
       Exception  : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:70)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
    at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install. 
    Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
    The deployment of the archive failed with an exception!
    ([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
    Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
    occurred while sorting the deployment batch items regarding the
    dependencies.;nested exception is:
    com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
    denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
    found for the following deployment items:
    1. Component: name:'carpool~ear',vendor:'my.company',location:
    'localDevelopment',version:'20080501110329',software type: 'J2EE',
    dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
    'cafcoreear',vendor:'sap.com']
    Unresolved dependency:
    name:'cafruntimeear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Unresolved dependency:
    name:'cafcoreear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Please check the error log for further informations.
    Again, this looks like I am missing some components.
    Any assistance is greatly appreciated.
    TB

    Further developments:  As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time.  In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated.  Does anyone know how I can change the lookup directory for this dependency (or any dependency)? 
    Thanks,
    TB

  • Problem launching a jsp page with eclipse and tomcat

    Hi,
    I have just started using eclipse and tomcat for creating dynamic web pages. I tried to launch a jsp page after starting the tomcat server with the URL: http://locahost:8080/HelloWorld/, an error page was displayed as below:
    HTTP Status 404 -/
    type Status report
    message /_
    description The requested resource (-) is not available
    Apache Tomcat/5.5.17
    I didn't get any error at the console and when i just typed http://localhost, a pop up menu saying that the connection was refused when attempting to contact localhost.
    I'm not sure what is the problem here. Could it be the permssion to the localhost is not granted by the system as the eclipse IDE is running using linux?
    Hope someone can help.
    Thanks.

    http://www-128.ibm.com/developerworks/library/os-ectom/

  • Problem with Class and Classpath

    Hello ME Windows Users, now before you place a wry smile on your face, I have a problem with path and classpath. Stop it, I can see you smiling!
    By visiting the the last 10 pages of the forum and reading Sun installation notes, some tooldocs and by given some answers by some nice people, I have become an expert in turning off my computer, about 10 times/hr. I still am trying to make my first cup of java.
    With the ME computer,
    I'm unable to right click on the desktop and go to properties, advanced,
    I'm unable to go go start, run, sysedit,
    I'm unable to change the ms-dos window of autoexec.bat, it just shuts down.
    Now before you tell me, I should of bought a different computer, the only place I can find to modify the path and classpath is in the environment which is in system configuration under tools. Here I have placed numerous configurations, like
    C:\java>set path=%path%;c:\j2sdk1.4.2\bin
    C:\java>set classpath=%classpath%;.;
    ;java_dir\bin where ;java_bin is c:\j2sdk1.4.2
    .; java_dir\bin; %path% where ;java_bin is c:\j2sdk1.4.2 and the list goes on.
    But, I know you are still smiling, the % signs comes up in a dialog box, saying too many, and will not convert the text to the environment to be saved when I close down for the tenth time in the last hour.
    Can someone help me before I make a real cup of coffee and accidentally drop it on the ME box.
    Have a laugh on me Mik.

    C:\java>set path=%path%;c:\j2sdk1.4.2\binGood
    But it is no good because it has to many % and a dialog box appears, saying you have too many parameters.
    Are you saying I have to shutdown again to answer your ?
    From the HELP menu-
    To confirm startup commands line by line
    Click Start, and then click Shut down.
    Click Restart, click OK, and then press and hold the CTRL key until the Windows Startup Menu appears.
    Enter the number for Step-by-step confirmation, and then press ENTER.
    For each command you want to run, press Y.
    If the command runs successfully, you are prompted with the next command.
    If the command does not run successfully, you receive an error message.
    To skip a command, press N.
    Mik

  • Crystal Reports for Eclipse and CR2008 with subreports

    SQL-Server 2005
    CR 2008, Ver.12.0.0.683
    Crystal Reports for Eclipse Plug-in Details:
    all Plug-in-files from Business Objects have the version 12.2.200.r454
    I create a report with subreports in CR2008. It's running perfect.
    When I load this report with subreports to Eclipse I can see the subreports in the report and I can click into the subreports. Each subreport is working in Preview, but when I want to preview the whole report with the subreports I get a black screen and the error
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments: -os win32 -ws win32 -arch x86
    Error
    Fri Feb 06 08:13:34 CET 2009
    Unknown Error (java.lang.NullPointerException)
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454
    java.lang.NullPointerException
    at com.crystaldecisions.reports.queryengine.QueryInfo.wF(Unknown Source)
    at com.crystaldecisions.reports.datafoundation.DFQuery.if(Unknown Source)
    at com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    at com.crystaldecisions.reports.datafoundation.DFQuery.int(Unknown Source)
    at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.l(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
    at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
    at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fm(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.A(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.call(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.A(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.syncExecute(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller$3.doWork(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$_B.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Any good ideas?
    Thanks in advance.
    Regards
    Jens

    Hi Ted,
    the error happens in the preview of the main report. Each subreport preview in this main report is running.
    Regards
    Jens
    Edited by: Jens Kutsche on Feb 9, 2009 8:48 AM
    The preview of the main report is running in CR2008.
    Edited by: Jens Kutsche on Feb 9, 2009 8:56 AM
    When I start this main report with a jsp I get the same error:
    java.lang.NullPointerException

  • Crystal Reports for Eclipse and CR2008

    SQL-Server 2005
    CR 2008, Ver.12.0.0.683
    Crystal Reports for Eclipse Plug-in Details:
    all Plug-in-files from Business Objects have the Versions 1.0.4.v1094 or 11.8.0.v20060727 except "CR for Eclipse Dev.Guide": Ver. 1.0.0.v1094
    I created a report with CR 2008 and load this report with eclipse. A preview in CR and eclipse is running perfect.
    When I bind this report to a jsp I get the error "Es wurde keine Rowsetspalte für das SQL-Ausdrucksfeld "strRefNo" gefunden", in english
    "no rowset-column for sql-statement "strRefNo""
    General this kind of SQL-statement is not working. This statement is a function which needs first a value from the database.
    When this value is fixed in the statement, the report is running in the jsp otherwise I get the error.
    When I delete this statement in eclispe, save this report, redo my delete and save the report again, the report is running with jsp!
    May be, there is a version conflict between CR and eclipse.
    I have to create the reports in CR2008 but I can not save the report in CR2008 to an older version.
    Is there a newer version for eclipse, which works with CR2008? I could not find any other version.
    Do you have other ideas?
    Thanks!
    Jens

    Hi Bryan,
    thank you for your good informations.
    I have downloaded the complete new eclipse and I don't get this error anymore.
    But in the next step, I tried a report with subreports. This is complete not working in Eclipse. When I load this report to Eclipse Ican see and click into the subreports. Each subreport is working in Preview, but the whole reports does not work (black screen), I get the error
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments:  -os win32 -ws win32 -arch x86
    Error
    Fri Feb 06 08:13:34 CET 2009
    Unknown Error (java.lang.NullPointerException)
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454
    java.lang.NullPointerException
         at com.crystaldecisions.reports.queryengine.QueryInfo.wF(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.if(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.int(Unknown Source)
         at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.l(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
         at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fm(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.call(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.syncExecute(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller$3.doWork(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$_B.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any other good idea?
    Thanks in advance.
    Regards
    Jens
    Edited by: Jens Kutsche on Feb 6, 2009 8:27 AM
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454

  • Ejb 3  stateless session bean eclipse glassfish runtime error

    trying to get a simple stateless session ejb 3 connected to a jsp using eclipse and glassfish. I have the two projects compiling, deploying, and in archives. but i am getting an error in my jsp which states it can't find my 'ejb' package which holds my created class files. I have looked at many examples on line and I can't find anything to point me in the right direction. please help!

    So you have 1 war file deployed and 1 ejb module deployed. Does the war file contain the interface class of the ejb? When deploying I tend to create a separate jar containing the interfaces to the ejbs that my web app will use and add it to WEB-INF/lib.
    Also post the stack trace of the Exception you are getting in case there is somthing else in it. (Just the juciy bits - I know how big Glassfish stacks can be!)
    m

  • Classpath error while building the project.

    Hi
    I have created an application in which on clicking the button on one view , next view opens and data is displayed in the tables. This data i am giving as static, and for that i have created a java file. this java file is located in the subfolder i have created in the package path i have given. While building the application, i get these two errors :
    1) The project was not built due to classpath errors (incomplete or involved in cycle).     
    2) Missing required source folder 'BPOutageTable/BPOT'
    BPOutageTable is the application name, and BPOT is the subfolder in which java file is present.     
    This application is similar to "The Master/Detail Viewer Application" example in the tutorials.
    Can anybody please help in this?
    Thanks & regards,
    Anupreet

    Hi anupreet,
    it error at buildtime means your code is not able to locate the folder and the java class.
    if you switch to navigator menu and create java class in src/package node (in any package). You can get the class within the dynpro component / view.
    Again try this, create a class say HelloClass in src/package node in some package. go to webdynpro view and try to access this class in dynpro code.
    Rgds,
    Vilish

  • Classpath error in portal application

    Hi
    <b>first problem</b>
    when i am going to deploy the sample portal application for example displaying the "Hello world" message in the output, so i am getting the classpath error as displayed below.
    <b>"The project was not built due to classpath errors(imcomplete or involved in cycle)"</b>
    can any one help where should i change the classpath and all to deploy the portal application successfully".
    <b>second problem</b>
    when i am going to write the code in the dynpage in the portal for example
    suppose if i want to add group to form then i type
    formobjectname.groupname;
    when i press . the entire list of possiblites are not apperaing in the list.
    pls help on this two.
    will award max points, if i slove
    Regards
    Sunil

    Dear Sunil,
    To answer your second question first:
    You ae'nt getting the list of methods/possibilities because the correct package/class is not imported. e.g. If you do not include com.sap.security.api.* you will not get the list of methods associated with any class falling under that package.
    The first problem: I really suggest that you download classlocator from sourceforge.net. It is easily plugges into NWDS. Double Click the error message and see it completely. I guess you would get one more message stating which class cannot be found. Once you install Class locator, you can easily type the class in the application and it will automatically add that Jar file in your classpath thus solving your issue.
    Regards,
    Prem
    SAP.

  • How to go about Setting PATH and CLASSPATH?

    I have problems compling the helloworldwww in the core programming.the error was:
    Exception in thread "main"java.lang.NoSuchMethodError:main
    my java programs are in c:\program files\java\bin
    My path :
    PATH=C:\WINNT\system32;C:\WINNT;c:\program files\java\bin
    My classpath
    set CLASSPATH=C:\WINNT\system32;C:\WINNT;c:\program files\java\bin.jar;.
    is there any error in my paths, if yes how to i go about setting the path and classpath??Im running on winXP.j2sdk1.4.1_02.

    set CLASSPATH=.;c:\program files\java\bin.jar;c:\program files\java\bin

  • Question concerning Eclipse and Tomcat Plugin and JSP

    I have a Tomcat-Project that I am working on in Eclipse and quite a few external JARs. Everything works fine, when I run my Test class within my project (in Eclipse). But as soon, as I am trying to call the jsp in my browser I get Exceptions: "java.lang.NoClassDefFoundError: org/apache/log4j/Logger" for example, which tells me that in the browser it can't find the JARs... I'm guessing something's wrong with the classpath but I was thinking that Eclipse would handle those things for me...
    I've added the JARs to my project via Eclipse (Properties -> Java Build Path -> Libraries -> Add external JARs). And I've created a subdirectory for my jsp files and allowed my project to update the .xml file for the settings and all... Do I need to do anything else? What have I done wrong so far, have I forgotten to do?

    I solved the problem...

Maybe you are looking for

  • How do i find the location of Oracle password file in the HDD

    we giv the location of the password file while we use the orapwd command to create one. later if we forget the location of the password file (incase it is not at the default location) then is there a way to find it or do we just create a new password

  • Navigating Out Of Movie Clips

    Hi, i have a presentation set up whereby I have 2 scenes, Intro Movie and Introduction. I have a Movie Clip in Introduction with a number of navigation buttons in it for within this movieclip, but i need one button to replay the Intro Movie in the ot

  • J1INCHLN + in background

    Can we run J1INCHLN process in backgound?

  • A Global Catalog Server could not be located - All GC's are down server 2003 dc

    Im all out of ideas.  I have two 2003 server DC's that both fail DCDIAG with the following adn my exchange services wont come online due to this. please help! dc1-server dcdiag       Starting test: FsmoCheck          Warning: DcGetDcName(GC_SERVER_RE

  • How do i troubleshoot itunes not updating?

    my i tunes does not let me sync any new i phones or i pads because it is not the updated system, then when i go to update it, it loads and finishes but never downloads......now i have no way to sync music photos contacts or movies