Results 1 to 10 of 11

Thread: pls help The function fn:escapeXml is undefined problem

Hybrid View

  1. #1
    Join Date
    Aug 2012
    Posts
    5

    Default pls help The function fn:escapeXml is undefined problem

    I made a project in STS 2.9.2 which work fine, but when i import same project in STS 2.9.2 on another computer i have a problem. Almost all jspx files in views section have The function fn:escapeXml is undefined error. I tried Project > clean but it doesn t help. Pls help...

  2. #2
    Join Date
    Aug 2012
    Posts
    5

    Default

    I also try to make one simple project and when i come to part where i in roo shell type controller all ~.web and roo is done with everething in folder views i also have same problems and errors almost all jspx files have errors and it s the same one.

    Multiple annotations found at this line:
    - The function fn:escapeXml is undefined
    or just
    - The function fn:escapeXml is undefined

    so its must be that sometning is missing but i don t know what, beacouse i install sts 2.9.2 no problem.

    pls help, i dont know what to do...

  3. #3
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Hey!

    I guess this is related to the build path of your project. Maybe the definition pointed to a JSTL lib on your old computer which is not there on the other machine? I would take a look at the build path configuration to check if everything is there...

    HTH,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  4. #4
    Join Date
    Aug 2012
    Posts
    5

    Default

    Quote Originally Posted by Martin Lippert View Post
    Hey!

    I guess this is related to the build path of your project. Maybe the definition pointed to a JSTL lib on your old computer which is not there on the other machine? I would take a look at the build path configuration to check if everything is there...

    HTH,
    Martin
    Ty for your fast answer . When i go to configure build path in Maven Dependencies i found
    jstl-api-1.2.jar and jstl-impl-1.2.jar with paths that actualy exist so thats shouldn t be a problem. When i go to Add external JARs and add jstl 1.2 which i downloaded today all errors desapier. But red ! stays on my project and it does not work.

  5. #5
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Hey!

    That is strange... Is there something mentioned in the "Markers" view about the red "!" ?
    And did those libs show up in your package explorer when you expanded your classpath container (before you added that manually)?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  6. #6
    Join Date
    Aug 2012
    Posts
    5

    Default

    In the meantime i changed laptop and problems are still the same. There is no problem in the view sector but red ! is there and project doesnt work. The problem is same except the .Jar files which are deferent. It s always in .m2/repository section.


    Ok, markers said:
    Archive for required library: 'C:/Users/User/.m2/repository/org/springframework/webflow/spring-js-resources/2.2.1.RELEASE/spring-js-resources-2.2.1.RELEASE.jar' in project 'informacije' cannot be read or is not a valid ZIP file

    The project was not built since it depends on informacije, which has build path errors

    But second one is beacouse of the first error.

    I delete workspace from the STS and import it again and .jar file was changed. First time was hibernate-core 3.6.9 Final.jar second time this one. Jar files are where they should be and they are ok. I don t know how to fix this, beacouse there is no solution on the web.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •