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...

Similar Messages

  • Eclipse and JSP

    Hi im new to programming to java and servlets & jsp in general. To program java web apps i noticed a pretty complicated directory structure. Does anyone know how could I get eclipse to handle such a directory structure and help me make webapps? are there any plugins i should download?
    Thanks

    You can easily set the output folder of your Eclipse Project to the classes folder in your web directory.
    Right click a project and select Properties.
    Under Java Build Path, you can set the default output folder.
    The trick is making it output to a specific point.
    Select the "Source" tab.
    "Add Folder"
    "Create a new folder"
    "Advanced"
    You can create a folder linking to somewhere in the file system.
    Once it is created, you can use it as the target for your output folder.
    Plugins like MyEclipse and Lomboz will automate this process for you, as well as providing a whole lot more functionality.
    Good luck,
    evnafets

  • Some installation questions concerning AS and 8i

    I will be installing 8i Enterprise Edition so that I can work with 9i AS. I have read through most of the Installation Guide for Oracle 8i - Enterprise Edition Release 3 (8.1.7) for Windows NT. I have some questions that didnt seem to be addressed in the documentation.
    How to access Web Site component?
    Appendix A, 'Individual Components Available for Installation,' indicates that the Oracle Enterprise Manager Web Site component is not included in either the Typical or Minimal installations of Oracle 8i Enterprise Edition. Is it available through a custom installation, or how do I access this component?
    Advanced Security questions:
    That same appendix also makes it clear that one of the primary differences between the Typical and Minimal installations is all of the Advanced Security features (encryption and integrity support; authentication support; and so on). It seems that I will need the Advanced Security component, because I will be configuring a database that stores usernames and passwords. However, I will be working with Oracle Portal. Can security features be configured just through Portal and 9i Application Server, or do I need to use Advanced Security instead, or in addition to, Portal and AS?
    From what I understand, Advanced Security works with SSL (Secure Socket Layers). Does this affect visitors' ability to access a Web application anonymously before login (doesnt interaction with an application in SSL require online exchange between computers of authenticated, encrypted digital certificates? I hope this question makes sense; I'm new to the topic.) Is there a short answer to this question?
    Application Server instead of Oracle HTTP server:
    I also saw in Appendix A that the Oracle HTTP server powered by Apache is included with both the Typical and Minimal installations. It's also bundled as a "Web listener" with the Oracle Enterprise Manager Web Site.
    However, I will be installing 9i Application Server instead to work with the 8i database. Will this cause any conflicts? I'm just wondering if the Oracle HTTP server component can be excluded from the beginning, without doing a custom install. I did see on pg. 3-6 of the Installation Guide (under 'Oracle Enterprise Manager Web Browser Requirements') that Oracle Enterprise Web Site does support the Oracle Internet Application Server.
    Also, I understand from the section on 'Mandatory Individual Component Requirements' that Advanced Security "requires preinstallation of an LDAP directory such as Oracle Internet Directory (provided on the component CD-ROM)." It refers me to the Oracle Advanced Security Administrator's Guide for further information.
    Oracle Internet Directory:
    However, I haven't been able to access the Security Administrator documentation yet for installation procedures since I haven't been able to successfully download 8i Enterprise Edition (with all of the supporting documentation) yet.
    I looked at the online 8i documentation at http://technet.oracle.com/docs/products/oracle8i/doc_index.htm but did not see any reference to the Advanced Security Administrators Guide.
    As for Oracle Internet Directory itself, I did just find the Oracle Internet Directory Administrator's Guide on the oracle8i/doc_index.htm page mentioned above - so that should help.
    I also looked at the Oracle Internet Directory download page to see if links to documentation might be provided there, but saw that "Oracle Internet Directory Release 2.1.1.0 is delivered as part of Oracle8i Release 3" which leads me back to the 8i Enterprise Edition page where Ive been experiencing download difficulties. So far as I know, theres no evaluation-version CDs available for this software, though there are evaluation CDs available for 9i AS.
    null

    Urfaust wrote:
    You can use the rankmirrors script to determine which is the fastest mirror for you.
    http://wiki.archlinux.org/index.php/Mir … heir_Speed
    @op - the tip that urfaust posted is contained in the beginners_guide wiki article.  You should not attempt installing arch without reading this guide.  If you have two computers, you can install arch on one while browsing to the guide on the 2nd.

  • Question Concerning Erase and Sync and Itunes backups

    Earlier this year my Computers Harddrive exploded without me making a backup.  overtime I have moved all my new data to a new Itunes library and now after just about everything has been moved My Itunes is telling me that for my 5 devices, That I need to do an Erase and Sync.  If I were to first backup my devices in Itunes would I be able to recover everything after the Erase and Sync ( Notes, Contacts, Remiders,ect.) Also a side question,  If I restore my phone from a backup, are the data in the Apps Lost
    Sorry For Poor Grammar did this in a hurry

    If the songs are still on your computer then you'll have to add them back into iTunes and rebuild your library. Once you've done that you can reload your iPod. Pressing "Erase and Sync" when iTunes brings up the dialogue window asking whether you want to replace the songs on your iPod with the songs in this iTunes does exactly what it says. If you linked to an iTunes with only a few or completely different songs it will have erased your original iPod song list, iTunes itself must have been empty at that point as erase and sync erases the iPod not iTunes. If you lost your songs entirely from the computer and the iPod there are some data recovery programs on the market. I've no personal experience of them so I can't say how effective they are, here's an example: iPod Data RecoveryBuegie - Recovering Songs
    None of the recovery programs are particularly cheap so you have to decide if in your particular circumstances it's worth it to get your songs back. It may be if you have a lot of purchased tracks which you would have to pay to download again. If they came primarily from your CDs then it's most likely not as you can re-rip them.

  • Question concerning Selecting and Deselecting Toggle Buttons

    Hello Everyone,
    I am still relatively new to the adobe web suite (still in the trial period in fact). I am working on creating a mock-up of a main web page design to demonstrate and discuss with management. The decision associated with such would determine if we go forward with purchasing adobe products, continuing a redesign of our website among many other things.
    The big issue that I am running into at the moment is creating a series of interactive thumbnails.
    I have the following set up on the page:
    - A section for the actual image (full sized) complete with a title and description provided at the side for one of potentially many topics.
    - Below the topic/image section is a series of thumbnails, which the first one is set for full opacity and marked as selected. (All of these thumbnails are in a Custom Component and break down into a Toggle Button component each, if the image is unselected it remains set at a low opacity)
    - When selecting one of the other thumbnails, I need it to change the image (this part works), select/set the thumbnail to full opacity (this part works as well, given it is a toggle button feature), and lastly unselect the previous thumbnail (causing it to go to a lower opacity, I cannot figure out a way to accomplish this one)
    - In the future I intend to design side bars (left and right) for both thumbnails and the section above (effectively changing the topic to a new one)
    The ultimate idea is to create articles, provided with thumbnails associated to the article at the bottom and to allow clean alternation between the thumbnails, and likewise be able to switch to a new article (with a new set of thumbnails associated to the new article) as well.
    Any help would be greatly appreciated.
    -Steven

    I think I found the solution of my own question. I share it in the hope that it’ll be useful to other people. Remind that I use Cp 6.1.0.319. I modified the project as follows: 1) I unchecked “Visible in output” for the button “Audio Play” (Bt_play) 2) I  modified the AA associated to the audio on/off buttons as descrived below: Action Name: Play Assign cpCmndMute with 0 Show Bt_Stop Enable Bt_Stop Hide Bt_Play Disable    Bt_Play Action Name: Stop Assign cpCmndMute with 1 Show Bt_Play  Enable Bt_Play  Hide Bt_Stop Disable Bt_Stop In this way the two buttons in the same location work well as a real toggle button! Greetings Elena

  • Straightforward question concerning borders and frame position

    Two small questions:
    How would you create a frame ( or something similar) that does not have the standard blue bar on its top? I'm trying to code a slash screen and the bar makes it just look silly.
    Secondly how would one predetermine where a JFrame showed up on the screen? Specifically, I just want to center it.
    Thanks guys.

    Use JWindow instead of JFrame for a splash screen, there's no title bar. And the code to center it:
    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    setLocation((d.width / 2) - (getWidth() / 2),
                (d.height / 2) - (getHeight() / 2));

  • Question concerning Hibernate and EJB3 Annotation overlap

    Consider the following, from the JBoss EJB3 Tutorial:
    @OneToOne(cascade = {CascadeType.ALL})
    @JoinColumn(name = "ADDRESS_ID")
    public Address getAddress()
    return address;
    The above two annotations are applicable, using JBoss Libraries and Hibernate Libraries.
    If one wishes to use both JBoss EJB3 annotations, and Hibernate with Annotations,
    do annotations need to be used twice? Naturally, if Hibernate and Jboss identical
    annocations are imported, there will be a compilation conflict error.
    I know that full package names can be used on annotations to avoid that.
    So, if I used the above code snippet, and I want to Hibernate using
    the equivalent hibernate annotations, what should one ideally
    do and why?

    Zac1234 wrote:
    I know that Netbeans automatically may build and deploy the completed
    EJB using ant to gather resources behind the scenes.
    which is why you shouldn't use it to learn about things. It hiding things from you means you don't learn all you need to know.
    with V2.1, regardless as to the container software that I'm deploying the bean to,
    am I now required to have an appropriate XML deployment descriptor,
    yup, and the ANT build file is not it.
    or is this something unique to jsps/servlets?Not the same thing. Different deployment descriptors for different applications.

  • Question concerning WebService and certificates

    Hi, well i'd like to get data from a WebService. Scenario is RFC to WebService in SAP XI.
    Therefore i also have to use user&pw and a certificate key i got previously!
    So i created the receiver channel and now i am stuck. There is the option User Authentification and Configure Certificate Authentication. What do i have to use and how to configure. I know i have to use the keystore-service in VisualAdmin, but how?!
    I already read this: /people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter but it does not fir my needs actually.
    Again, i have user&pw AND certificate-key (only key in plain characters!). how to use these 3?!
    thx in advance, br

    Hi Jens,
    Go through following pdf. It will clear some of you doubts.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/964f67ec-0701-0010-bd88-f995abf4e1fc
    -Pinkle

  • Questions concerning OpenAL and SDL sound

    Hi,
    After having sound problems with Warsow, I wanted to rebuild OpenAL as it seemed to use OSS by default. However, the PKGBUILD currently in ABS does not work anymore, the download for the source is invalid. I wrote my own PKGBUILD for openal-soft, which seems to work OK so far (I just had to create a symbolic link for libopenal.so.0, as libopenal.so.1 is now created by default). This version linked against my alsa-libs works without problems. Would it be possible to to replace openal with openal-soft or at least change the PKGBUILD or is there a reason the old version is still the standard in the repos?
    Another issue was sound in Urban Terror, which also seemed to use OSS by default. As this game only uses SDL Audio and cannot be compiled to use OpenAL (the flags are ignnored), I wondered why SDL uses OSS by default and not alsa. The current SDL-version is compiled with ALSA and OSS support, but it always used OSS. After rebuilding and reinstalling SDL with --disable-oss, it worked properly (read: I could play music and Urban Terror at the same time). I don't know if there is a configuration file for SDL somewhere, I found nothing in /etc/, but as ALSA is preferred over OSS nowadays, perhaps --disable-oss could be added to the PKGBUILD for SDL. Perhaps I built SDL from source with OSS installed using the standard PKGBUILD, and OSS is not enabled in the repo's SDL, but I think this could be updated nevertheless.

    Yes, it does work, but I find it a bit irritating that OSS is default for SDL, as the majority of users use ALSA nowadays. Same goes for OpenAL according to http://icculus.org/lgfaq/#setthatdriver - perhaps this should be noted somewhere?

  • Question Concerning "Terms and Conditions"

    Lately I have been pondering about whether I should put iPodLinux on my 3rd Generation iPod so that I can play videos on it and more that Apple doesn't allow you to do. I would normally do this in a heartbeat, only my Apple Care extended warranty doesn't expire for 5 more months. So, I looked at the "Terms and Conditions" for my warranty and found an interesting bit....
    The plan does not cover:
    "Damage to the Covered Equipment caused by accident, abuse, neglect, misuse (including faulty installation, repair, or maintenance by anyone other than Apple or an Apple authorized Service Provider), unauthorized modification"
    That does on, but you can see the point I'm making just from that. According to the section I just read, it is not violating your warranty to install other software on your iPod, but Apple won't cover it if your iPod is damaged because of the software. So, say I installed iPodLinux on my iPod, and it was working fine, but one day my scroll wheel just stopped working... I could get my iPod repaired because it is still covered under the warranty, correct?
    Please let me know if I am interpretting this incorrectly.
    -Timo

    ^Thats what I suspected, only I couldn't find anything about just installing it and voiding your warranty, only that AppleCare doesn't cover damage resulting from manipulation of your iPod.
    Of course, I wasn't reading the original iPod warranty...
    -Timo

  • Question Concerning Anchor Usage

    New to Dreamweaver's web world and have a question concerning
    Anchors and Drop Down Menus. Is it possible to have one of the
    selections from my main navigation drop down menu Anchored to a
    particular section of a page?
    Thank You for any input.

    OH, that. Duh.... 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "E Michael Brandt" <[email protected]> wrote
    in message
    news:fu5vq2$gs1$[email protected]..
    > jcraw77 wrote:
    >> New to Dreamweaver's web world and have a question
    concerning Anchors and
    >> Drop Down Menus. Is it possible to have one of the
    selections from my
    >> main navigation drop down menu Anchored to a
    particular section of a
    >> page?
    >>
    >> Thank You for any input.
    >
    > Sure, just make its link be href="#anchorname"
    >
    > --
    >
    >
    > E. Michael Brandt
    >
    > www.divahtml.com
    >
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    > Standards-compliant scripts and Dreamweaver Extensions
    >
    > www.valleywebdesigns.com/vwd_Vdw.asp
    > JustSo PictureWindow
    > JustSo PhotoAlbum, et alia
    >
    > --

  • Eclipse and Tomcat questions

    Hi everyone,
    Lastnight I setup Eclipse to work with Tomcat, which works very good, but there are something I don't understand.
    1. My files are put in my workspace in (C:\Documents and Settings\...etc)
    How does Tomcat (which is installed in C:\Tomcat) know that it should get the files from my workspace directory?
    Because in the C:\Tomcat directory I can't find any .XML file that refers to my workspace directory.
    2. How I developed my servlets till now, I had some other free editor, I needed to compile my servlets then restart Tomcat and then test it.
    With Eclipse + Tomcat plugin, all I need to do save the servlet and apparently the source code is compiled automatically. All I need to do is refresh the servlet in my browsers (very handy and easy to develop like this). But my question is, does Eclipse compile the servlet automatically after saving? And why doesn't tomcat have to be restarted?
    Just a few questions to understand it a bit better, I'm really happy with this setup as it makes everything a lot easier.
    Regards,
    Steven.

    I believe you will need to become familiar with and install:
    http://www.eclipse.org/webtools/
    HTH
    Darins
    "raul" <[email protected]> wrote in message
    news:b894c367f9750f367a2e8336f8fe93b1$[email protected]..
    > Hi, I downloaded the latest version of eclipse 3.1 and I've installed
    > apache tomcat in mi PC.
    > Eclipse has a plugin : org.eclipse.tomcat_4.1.30.1
    > My problem is that I don't know how to use the tomcat server with eclipse.
    > I readed some tutorials and they say that I have to configure using menu
    > Window > Preferences and then I will see the tomcat option. But that
    > option doesn't appears or I couldn't see it.
    > Another tutorial say that I have to activate a plugin in the following
    > menu location: Window > Customize Perspective > Commands and select the
    > checkbox for tomcat , but that option doesn't appears either.
    > What can I do, I want to use eclipse and tomcat together...
    > Can someone help me with this questions?
    >
    > Thanks so much.
    > Raul Torres
    >
    >
    >

  • Eclipse Plugins for Servlets and JSP.

    Hi Guys,
    Can any one suggest where i can get the eclipse plugins for Servlets and JSP. May i am wrong posting this question in this forum. I already browsed thru all the forum to get the info but in vain. so any help will be appreciated.
    Thank You,
    cheers,
    thrinath.j

    [url http://www.eclipse.org/webtools/]http://www.eclipse.org/webtools/
    Regards

  • 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/

  • Setting up eclipse and tomcat

    Does anyone here have any expertise configuring these two products?(eclipse and tomcat)
    I have my tomcat server running and it process them jsp pages just fine. I have also installed the plugin to get tomcat configured with eclispe.
    I am just having problems running a jsp file directly from tomcat. it always points to a file on the hd and not to the webapps area like it's supposed to......

    Sure - we use that combo for development all the time.
    What's the problem specifically? Did you create a new Tomcat project in Eclipse? If you did, then it will automatically add the project's web path as a context to Tomcat, and you can browse directly to it using your browser.
    FYI - note that the context that is created is going to point to the eclipse workspace directory - NOT the default webapps directory that you might have configured for Tomcat. That's OK.
    - K

Maybe you are looking for

  • Connecting the Ipod Nano to the Playstation 3

    Is it possible to connect your ipod nano to your playstation 3? The playstation recongnizes it as an Ipod but displays that there are no tracks available, when I simply connect it via the USB port...I know this has to be possible. Please assist....

  • DSNewHandle fails with 2-D handle

    All; The following bit of code (StringRowAdd) mem-faults in a LV-called DLL, the other code (StringAdd) works fine. Can a programming god figure out what I'm doing wrong here? ...Dan void StringRowAdd(TD4Hdl in_array, char *string[], int cols) int i=

  • Vignetting In Import Dialog Box

    Can anyone tell me how to fix the thumbnail vignette in the import dialog box of version 3.2? The thumbnails have a vignette until I mouse over them or select them. Is there a setting to turn this off?

  • Runtime error: SYSTEM_NO_ROLL in portfolio steering  "Unable to fullfil req

    HI All, Runtime time error: SYSTEM_NO_ROLL and  "Unable to fulfil request for 65536 bytes of memory space". I am selected 350 items in portfolio steering for changing status by using button UIPDATE ARTIFACTS. while changing 350 items am getting dump

  • My hp pavilion dv6-6c13cl entertainment notebook pc - webcam not found in device manager.

    I am a technician working on this unit for a neighbor, and it is having some issues. She has kept this unit in very good condition, never been dropped and has functioned very well. Recently she went to use voice chat on facebook as she has several ti