'Which dependency should be added in pom file to import org.apache.tiles.controller?
Which dependency should be added in pom file to import org.apache.tiles.controller?
Solution 1:[1]
org.apache.struts.tiles.Controller is an interface in Struts Tiles 1.x, which you can find in the maven artifact "org.apache.struts:struts-tiles"
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts-tiles</artifactId>
<version>1.3.10</version>
</dependency>
Keep in mind, this only works with Struts 1.x, and not Struts 2.
Solution 2:[2]
According to https://tiles.apache.org/download.html#Tiles_3_as_a_Maven_dependency :
<dependency>
<groupId>org.apache.tiles</groupId>
<artifactId>tiles-extras</artifactId>
<version>3.0.5</version>
</dependency>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | messivanio |
| Solution 2 | messivanio |
