My custom cfx tag does implement com.allaire.cfx.CustomTag interface. Can someone help to understand why I'm getting this error?

Posted on 2008-11-14
Last Modified: 2013-12-29
I'm running this on cf8. The .java source file begins:

package com.argus.cfx;

import java.util.HashMap;
import java.util.Map;

import com.allaire.cfx.CustomTag;
import com.allaire.cfx.Query;
import com.allaire.cfx.Request;
import com.allaire.cfx.Response;
import com.argus.util.FileUtils;

public class PDFVersionReducer implements CustomTag {
    public void processRequest(Request request, Response response) throws Exception {
        String file = request.getAttribute("file");
        String version = request.getAttribute("version");
        String result = request.getAttribute("result");
        File f = new File(file);

as you can see, the file does implement CustomTag so I'm thinking that the error message may be a red herring...if it couldn't find the class I'd expect to get a class not found I'm thinking it may be something with my setup?
Question by:cfmdev

    Author Comment


    Accepted Solution

    Turns out this was a class path issue. Once I fixed that...the custom tag worked as expected...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    If you have upgraded to Java2 update 10 on a Microsoft Windows client, you may have discovered that your Java application does not work as it did before.  For example, the colors of your Java2D graphic may be all wrong for no apparent reason. Aft…
    Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
    This video teaches viewers about errors in exception handling.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now