• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't get definitions factory from context.

 
Nadine Hossam
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have developed a web application with tiles, using eclipse and tomcat as the app server.
And it's working fine.
Now I'm trying to move to websphere, I copied all the files but it's getting me this error

[7/26/07 16:16:24:172 AST] 45a28f4f WebGroup E SRVE0026E: [Servlet Error]-[Can't get definitions factory from context.]: javax.servlet.jsp.JspException: Can't get definitions factory from context.
at org.apache.struts.taglib.tiles.InsertTag.processDefinitionName(InsertTag.java:583)

Although it's working fine on tomcat.
I have put the struts-tiles.tld, struts.jar in the lib folder isnide WEB-INF. And added taglib definition in web.xml. And tiles-defs.xml. And added the tiles plugin in the trsuts-config file.

so I guess it's something related to the websphere itself as, Any help?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nadine Hossam:
I have put the struts-tiles.tld, struts.jar in the lib folder isnide WEB-INF

The struts-tiles.tld file should go in WEB-INF, not in WEB-INF/lib. Also, you need more than just the struts.jar file. You will need all the jar files that came with the Struts download.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic