-
1. Re: Can't build from scratch
nbelaevski Apr 15, 2009 9:56 AM (in response to bjoerne)Hello Bjoern,
No special requirements except the ones described in the article. Can you please try cleaning local Maven repository (%HOME_DIR%\.m2\repository) and check? -
2. Re: Can't build from scratch
bjoerne Apr 16, 2009 3:14 AM (in response to bjoerne)Hello!
Thanks a lot, it works. I deleted my local repository. I also configured maven as required (before I used a maven proxy).
Greets
Björn -
3. Re: Can't build from scratch
ufkub Oct 26, 2012 4:21 PM (in response to bjoerne)The problem is that there are different versions of the "el-api-1.0.jar" on the Internet.
The official JAR, with 24432 bytes and SHA1 checksum df8c6ce0406676e70c5d018e5fb988be1bcf1024, is available at the usual locations:
- http://download.java.net/maven/2/javax/el/el-api/1.0/
- http://repo1.maven.org/maven2/javax/el/el-api/1.0/
- http://search.maven.org/#artifactdetails|javax.el|el-api|1.0|jar
RichFaces 3.3.X does not compile when this JAR is used.
It needs the "el-api-1.0.jar" from the old Maven 1 repo at http://download.java.net/maven/1/javax.el/jars/ (29309 bytes, SHA1 1e72d5b13b698f99058d35751a29f87ef3066e87).
You don't have to clear the whole local repository or circumvent your Maven proxy.
It is just enough to delete all files in %HOME_DIR%\.m2\repository\javax\el\el-api\1.0\ and download http://download.java.net/maven/1/javax.el/jars/el-api-1.0.jar into that folder.
-
4. Re: Can't build from scratch
juanmiguelbg Jul 16, 2014 10:23 AM (in response to ufkub)I've this problem too and it fixes the bug.
But also I've a problem with UI module queue tests. I get the following error in some tests:
-------------------------------------------------------------------------------
Test set: org.ajax4jsf.component.QueueSizeTest
-------------------------------------------------------------------------------
Tests run: 13, Failures: 13, Errors: 0, Skipped: 0, Time elapsed: 6.358 sec <<< FAILURE!
testUnlimitedOverload(org.ajax4jsf.component.QueueSizeTest) Time elapsed: 1.758 sec <<< FAILURE!
junit.framework.AssertionFailedError: Cannot read property "xml" from undefined
at junit.framework.Assert.fail(Assert.java:47)
at org.ajax4jsf.component.AbstractQueueComponentTest$3.handleAlert(AbstractQueueComponentTest.java:542)
at com.gargoylesoftware.htmlunit.javascript.host.Window.jsxFunction_alert(Window.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:474)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:185)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:173)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:431)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:553)
at org.mozilla.javascript.Context.call(Context.java:577)
at org.mozilla.javascript.Context.call(Context.java:499)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:439)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:414)
at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:716)
at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScript(HtmlPage.java:647)
at org.ajax4jsf.component.AbstractQueueComponentTest.executeTimer(AbstractQueueComponentTest.java:498)
at org.ajax4jsf.component.AbstractQueueComponentTest.getTestsResult(AbstractQueueComponentTest.java:504)
at org.ajax4jsf.component.QueueSizeTest.simulate(QueueSizeTest.java:77)
at org.ajax4jsf.component.QueueSizeTest.testUnlimitedOverload(QueueSizeTest.java:129)
All the tests have the same error: Cannot read property "xml" from undefined
Failed tests:
org.ajax4jsf.component.QueueSizeTest
org.ajax4jsf.component.QueuedPollTest
org.ajax4jsf.component.QueueSimilarityTest
org.ajax4jsf.component.QueueScriptedTest
org.ajax4jsf.component.AjaxFormQueuesTest
org.ajax4jsf.component.ImplicitQueuesTest
org.ajax4jsf.component.QueueDiscoveryTest