Can't find *.vm in using velocity+struts     Hurry!

There is an error as follow:
Unable to find resource '/WEB-INF/blogpages/template/TemplateList.vm'
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/WEB-INF/blogpages/template/TemplateList.vm'
     at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:458)
     at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:341)
     at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:831)
     at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:813)
     at org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:285)
     at org.apache.velocity.tools.view.servlet.VelocityViewServlet.getTemplate(VelocityViewServlet.java:540)
     at org.apache.velocity.tools.view.servlet.VelocityViewServlet.handleRequest(VelocityViewServlet.java:475)
     at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(VelocityViewServlet.java:407)
     at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(VelocityViewServlet.java:373)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
     at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
     at com.caucho.server.http.Invocation.service(Invocation.java:315)
     at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
     at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:223)
     at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:103)
     at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:80)
     at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1033)
     at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:980)
     at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:563)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
     at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
     at com.caucho.server.http.Invocation.service(Invocation.java:315)
     at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
     at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)
     at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:170)
     at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
     at java.lang.Thread.run(Thread.java:534)
struts-config.xml:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="checkForm" type="org.apache.struts.validator.DynaValidatorForm">
</form-bean>
</form-beans>
<global-forwards type="org.apache.struts.action.ActionForward">
<forward name="welcome" path="/welcome.jsp"/>
<forward name="TemplateList" path="/TemplateList.do"/>
<forward name="TemplateListAction" path="/TemplateListAction.do"/>
</global-forwards>
<action-mappings type="org.apache.struts.action.ActionMapping">
<action path="/TemplateList" forward="/WEB-INF/blogpages/template/TemplateList.vm"/>
<action path="/TemplateListAction"
type="com.e800.blog.template.action.TemplateListAction"
name="checkForm"
validate="false">
<forward name="success" path="/WEB-INF/blogpages/template/TemplateList.vm"/>
<forward name="failure" path="/WEB-INF/blogpages/template/welcome.jsp"/>
</action>
</action-mappings>
<message-resources parameter="ApplicationResources"/>
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
     <!-- Standard Action Servlet Configuration (with debugging) -->
     <servlet>
          <servlet-name>action</servlet-name>
          <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
          <init-param>
<param-name>application</param-name>
<param-value>ApplicationResources</param-value>
</init-param>
          <!-- struts configs -->
          <init-param>
               <param-name>config</param-name>
               <param-value>/WEB-INF/struts-config.xml</param-value>
          </init-param>
          <init-param>
               <param-name>debug</param-name>
               <param-value>0</param-value>
          </init-param>
          <init-param>
               <param-name>detail</param-name>
               <param-value>0</param-value>
          </init-param>
          <load-on-startup>2</load-on-startup>
     </servlet>
<servlet>
<servlet-name>velocity</servlet-name>
<servlet-class>org.apache.velocity.tools.view.servlet.VelocityViewServlet</servlet-class>
<init-param>
<param-name>org.apache.velocity.toolbox</param-name>
<param-value>/WEB-INF/toolbox.xml</param-value>
</init-param>
<init-param>
<param-name>org.apache.velocity.properties</param-name>
<param-value>/WEB-INF/velocity.properties</param-value>
</init-param>
<load-on-startup>10</load-on-startup>
</servlet>
     <!-- Standard Action Servlet Mapping -->
     <servlet-mapping>
          <servlet-name>action</servlet-name>
          <url-pattern>*.do</url-pattern>
     </servlet-mapping>
<servlet-mapping>
<servlet-name>velocity</servlet-name>
<url-pattern>*.vm</url-pattern>
</servlet-mapping>
<!-- Welcome File List -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
     <!-- Struts Tag Library Descriptors -->
     <!--
     <taglib>
          <taglib-uri>/tags/struts-bean</taglib-uri>
          <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
     </taglib>
     <taglib>
          <taglib-uri>/tags/struts-html</taglib-uri>
          <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
     </taglib>
     <taglib>
          <taglib-uri>/tags/struts-logic</taglib-uri>
          <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
     </taglib>
     <taglib>
          <taglib-uri>/tags/struts-nested</taglib-uri>
          <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
     </taglib>
     -->
</web-app>
Hurry! Please help me to find where the error is,Thanks.

Ken
u are right that you will be able to find from WEB-INF directory but not from jar files.
Make sure you add these jar files inside Classpath and JAR Dependencies under properties in which project u want to access it.
My IDE is WSAD5.0
if it does not work add it inside
Project Utility JARs .....but not sure
Riyaz

Similar Messages

  • I am unable to start Firefox. Getting message that it's already running. Can't find my profile using "%APPDATA%\Mozilla\Firefox\Profiles|". What do I need to do

    I am unable to start Firefox. Getting message that it's already running. Can't find my profile using "%APPDATA%\Mozilla\Firefox\Profiles|". Rebooting my computer didn't help. Since I experienced that problem I also noticed that all my bookmarks which I had copied into the Windows Internet Explorer have also disappeared. I am using Firefox as my primary search engine and usually don't use Internet Explorer. I am running Windows 7 on my machine.

    Try this add on [https://addons.mozilla.org/en-US/firefox/addon/open-profile-folder/ Open Profile Folder]

  • TS4002 I'm trying to create a new apple-id but when typing the email adress I want to use I'm told that the particular email adress is not allowed but when searching I can't find same being used. How do I find out where that particular email adress is use

    I'm trying to create a new apple-id but when typing the email adress I want to use I'm told that the particular email adress is not allowed When searching I can't find same being used anywhere. How do I find out where that particular email adress is used so I can delete it there and use it for my new apple-id?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    Also
    If you have Find My iPhone enabled, you can use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.

  • HT201210 restoring ipod and it say's can't find software and use a cd-rom if necessary. what am i supposed to do? my ipod is stuck on the connect to itunes screen and wont do anything.

    Restoring ipod and it say's can't find software and use a cd-rom if necessary. My ipod is stuck on the connect to itunes screen and wont do anything. What am i supposed to do?
    Please help, i will be very grateful

    you can do is go to ijailbreak.com then select downloads section.......scroll down and see the latest version of ipod touch second generation is available for download.....when it gets downloaded connect your iPod to itunes or keep it connected then hold option and click restore (mac) search the software by writing in search "iPod" a thing with white cube will show up if it is the file you just downloaded click it and wait for itunes to do its work......you can ask more if you are on windows

  • How can I find the schemas used in a database?  Any system table contains?

    How can I find the schemas used in a database? 
    Any system table contains?
    I would like to know sql statement (dictionary object name) which tells the all schema s in a database like dba_users.

    Hello,
    this SQL should help:
    db2 "select schemaname from syscat.schemata"

  • What happens if you never realised you needed your serial number, then your ipod was stolen and you need it...where can if find it without using my ipod

    what happens if you never realised you needed your serial number, then your ipod was stolen and you need it...where can if find it without using my ipod
    please help me!!
    thanks

    See:
    iPod: How to find the serial number
    And this previous discussion:
    iPod touch Serial number help?: Apple Support Communities

  • I can´t find how to use the "at" sign

    I can´t find how to use the "at" sign on my new Mac book??

    Go to system preferences/keyboard/input sources and make sure that only US is there.
    http://support.apple.com/kb/PH13835

  • I was using raw & my hard disk nearly full. When I downloaded pix, I got message that said hard disk nearly full. My pix downloaded into 2 folders. When I merged them about 50 disappeared. Where can I find them? Using MacBookPro, IPhoto 9.5.1

    I was using raw & my hard disk nearly full. When I downloaded pix, I got message that said hard disk nearly full. My pix downloaded into 2 folders. When I merged them about 50 disappeared. Where can I find them? Using MacBookPro, IPhoto 9.5.1

    Where were you downloading the to,   iPhoto, a folder on the Desktop, where? Are they still on the camera's memory card?  If you deleted them from the card and haven't used the card since they can be recovered with recovery software like  MediaRECOVER. You can download the demo version to verify they can be recovered before purchasing it.  Other similar apps can be found at MacUpdate.com by searching for "photo recovery" or similar terms.

  • I can not find how to use the basic Mac air keyboard. where do i find it or do a tutorial board

    I am new to the Mac worls and hardly used a PC . I used a Blackberry. How can i find how to use the macair key board. I can not get the plus sign or the brackets on my leyboard to work. The option key is called the atl key.. There is no easy guide for how to use all the Buttons on the Key board. where do i find them

    Hello Sanjit_Das:
    sorry for my english again !.
    My purpose is almost the same as this:
    https://forums.adobe.com/message/6137964#6137964#6137964
    But I do not know which  path must specify when the video is uploaded to assets:
    Sorry to ask something so absurd.
    I tried putting all
    <source src = "assets / Myvideo.mp4" />
    not working
    <source src = "C: \ Users \ Angel \ Downloads \ NEW \ pruebamusevideo \ assets/Myvideo.mp4">
    not work.
    etc
    Presenting want to work from any computer, DVD, memory stick ...
    I'm going crazy.
    I know it's something about the route.
    From muse Vimeo links to work, but when I export them to HTML not working. I guess it's a problem related to the same.
    Thank you very much again.

  • Some emails don't appear in the folder list, I can only find them by using Search Messages

    As of yesterday, new emails from one regular correspondent do not appear in the list of messages when I click on Inbox. The only way I can access them is to use "Edit/Find/Search Messages". They are still in Inbox, they haven't been moved to another folder.
    Thunderbird version is 31.6.0.

    None of these apply, the messages have been received, I can find them using Search Messages but they do not appear in the folder contents.

  • How can i find out who used my iTunes last?

    Someone reset my password and i want to know who. How can i find this out?

    No one used my computer. I got an email that says my password was changed and i want to know who. noone on my computer did it because i checked the history.

  • How can I find whoelse is using my internet if I have an IP adress?

    My internet isn't working. The message IP-konfiguration shows up and says that the adress is un use by another adress. How can I find that adress or what do I do to make my internet work again?

    Then try this
    Apple>System Preferences>Network> select your ethernet connection >Advanced>TCP/IP>Renew DHCP Lease

  • Can't find the variable used in Apex using Substitution String #

    Hi,
    Someone put in a substitution string for a user defined variable. #variable#. I can't find it. Looked through the shared components. Any advice? Thanks.

    Export your application and use a good text editor to search on that string and you will find it if it is there.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Help! - JRE can't find classes that use inner classes!

    Whenever I try to launch an app using the JRE, if the class was built with an inner class definition, the JRE says it can't find the class.
    For instance:
    I created a class called GUI, which contains anonymous inner class definitions for the button handlers: addActionListener(new ActionListener()){, etc. 
    When I compile this class I get GUI.class and GUI$1.class
    When I try to launch this using the JRE:
    jre -cp c:\progra~1\myApps GUI
    The JRE spits out
    'Class not found: GUI'
    BUT if I go back and remove the action handlers so that the only compiled class file is GUI.class (not GUI$1.class) then the JRE can find the class no problem.
    What in the good Lord's name is going on here?

    Thanks for the response. Got the 1.2.2 version of the JRE, where I guess you no longer invoke jre.exe (no such file exists) but java.exe instead (not well documented).
    Also, the newer version of the JRE has no problems locating classes, so I guess I'm OK.

  • Lauguage packs for Windows 2012. Where can I find them without using Windows updates? I have an MSDN account but don't see them

    Hello all,
    Where can I find the language packs for WIndows 2012 r2? I can't use Windows updates so get them. I'm trying to find a manual download. I have a MSDN account but I don't see language packs on the MSDN site. Are they located on the site? I think I need a
    win_srv_2012_64bit_multi_language_lp_oem. Will the 2008 r2 or Windows 7 language packs work?

    Hi,
    Please also take a look at the article below:
    Available Language Packs for Windows
    http://technet.microsoft.com/en-us/library/hh825678.aspx
    Hope this may help
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Maybe you are looking for

  • Updating app-v packages on clients already deployed to.

    hi I'm deploying a few app-v packages..   If I make some changes to the osd file for instance..  how do I get this update through to the clients that already have the app-v package deployed? Kindest regards, Martin

  • How do you switch iCloud apple id on iPad

    I am trying to help someone who originally set up their ipad3 with one apple Id for iCloud, but now wants to change it to another apple Id. How do I do this? When I go into settings, under iCloud, I can see the apple I'd, but it will not let click on

  • Win7 Computer Config group policy not applying

    Hi all: I am having a bit of trouble getting a Computer Configuration group policy to apply in Windows 7 using ZCM 11.2.3. I have two group policies, one for User Configuration settings and the other for Computer Configuration settings. User Config G

  • Using slideshow with lots of pictures crashes all the time

    I am again working on a project with 400 pictures.  As I try to get then into the project, the thing just crashes all the time and I have to load back up.  Since this has happened to me on many projects, but I do not see others having issues, this im

  • Version-Control / Change-Management

    Hi there, I know there is a nice function in Enterprise Manager controlling your versions of your database-design and your schemas. That means: I can compare to schemas and the enterprise manager shows me the difference and what was changed during th