facebook

Tiles integration java.lang.IllegalArgumentException error

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #232939 Reply

    rwnevinger
    Member

    Gentlemen:

    The following error:

    java.lang.IllegalArgumentException: Path siteLayout.jsp does not start with a “/” character

    From my tile-defs.xml file:
    <definition name=”base.definition” path=”/siteLayout.jsp”>
    <put name=”header” value=”/header.jsp” />
    <put name=”navigation” value=”/navigation.do” />
    <put name=”footer” value=”/footer.jsp” />
    </definition>

    Yes, I used validate, the file is valid. Yes, I checked the forum before I posted, which recommended I validate. Tried it without the slash, but that isn’t what the error is telling me to do; it is an illegal argument.

    JDSK: 1.4.1; JRE: 1.4.1; Eclipse: 3.1; MyEclipse….3.9.210 – 211

    Any ideas?

    #232967

    rateoty
    Member

    hi,

    trying to validate my tiles-defs.xml (Eclipse 3.1 ME 4.M02) I always got with the default settings for validation of any tiles-defs.xml:
    Validation Falied
    The XML file is not valid. The message limit for the Problems view has been exceeded. Please increase the limit and try again.

    After setting the maximum number of validation messages for project to 250 (default was 25) the file was validated as valid.

    Regards Jürgen

    #232985

    rwnevinger
    Member

    Jürgen:

    Thank You! I have to locate where in the IDE I increase the maximum number of validation messages. I will start looking for it now; if you get this soon and can reply as to where I can find it, Thank you in advance,

    Robert.

    #233007

    rwnevinger
    Member

    Jürgen:

    Ah ha…right click the project…but guess what? It is still a valid XML file, so my problem persists, anyone in support have an idea? But thank you for the hint

    Robert.

    #233032

    rateoty
    Member

    Hi,
    you increase the maximum number for all projects via:
    Window->Preferences->MyEclipse->Validation

    As I wrote, this lead to correct behaviour of the validator. A previoulsy as invalid (with to big a number of errors to be shown) marked file was afterwards marked as a valid xml-file.

    Regards Jürgen

    #233424

    truecube
    Member

    Hi,

    I am having the same problem and I changed the number 25 to 250 … yet no improvements.

    any help appreciated.

    Thanx

    #233444

    rwnevinger
    Member

    Were you also working through a tutorial?

    #233447

    Riyad Kalla
    Member

    Someone please post the full contents of their tiles file, I will then copy it into a project locally and see what is going on.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Tiles integration java.lang.IllegalArgumentException error

You must be logged in to post in the forum log in