Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
External component question
System
I am trying to create a simple HelloWorld external component in sitepublisher 3.0 .
I have followed these steps.
1. Created a new project in eclipse from
IW-HOME/local/config/lib/content_center/customer_src dir
2. Added livesite jars to project
3. Added livesite jar entries to build.xml
4. Manually added customer entry in E:\Interwoven\TeamSite\local\config\lib\content_center\ toolkits.xml file
5. Ran make_toolkit.ipl command from customer src dir
6 .In Contentcenter professional - File > New Component.
In content xml section, added HelloWorld object
Getting ClassNotFoundException when I click on preview button . Am I missing something here? Please help
Find more posts tagged with
Comments
TheYann
first thing is to check the make_toolkit output to see if everything went well (compilation, creation of the jar, copy to the proper location).
the second thing is to check your syntax in the component, make sure the name of the class with all packages and so on is correct, also that the name of the function is good and that the function exists (eventhough if you had a problem with the function you wouldn't have had a ClassNotFoundException).
So yeah check that first ... then we'll see!
Migrateduser
Thanks for the reply. I created the source file in /src dir and redirected the output to /src/bin. That solved the problem.