cannot find Component

View: New views
4 Messages — Rating Filter:   Alert me  

cannot find Component

by avaATG :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

         I've created one component and i gave the path in respected .jsp file but am getting the exception as can't find the component.


        And i tried manually to start the component from ACC but no use. An not getting where to fix this

Help me


Anil

Re: cannot find Component

by JFriend :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

can u please post some more details? the code of the jsp where u imported the component and the .properties file of the component you have created and how you are using the component?

Re: cannot find Component

by Vincy Sebastian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Anil,

The new component that you created, did you use a java class to specify it.
If so, did you specify the property file for it and mentioned the class inside it?

And just check whether a .class was created when you did a build.?
And mention the path of the property file in the jsp file.

Example:

the class file ->src/com/mymodule/MyComponent.java

The property file ->config/mymodule/MyComponent.properties

# config/mymodule/MyComponent.properties
$class=com.mymodule.MyComponent

In the jsp file -><dsp:importbean bean="/mymodule/MyComponent"/>

Update, if this helps.

Regards
Vincy

Re: cannot find Component

by avaATG :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Vincy,

              Thanks for replying it got solved the reason is: I was using diff versions of jdk for eclipse n for my project....
LightInTheBox - Buy quality products at wholesale price