[jboss-user] [JBoss Seam] - No converter for type: org.jboss.seam.core.Expressions$Value

laksu do-not-reply at jboss.com
Tue Nov 27 14:40:22 EST 2007


Still cannot run the dumbest test on my own.

Here is my test:

  | import org.jboss.seam.mock.SeamTest;
  | import org.testng.annotations.Test;
  | 
  | public class TestIntact extends SeamTest {
  |     @Test
  |     public void testIntact(){
  |         assert true;
  |     }
  | }
  | 

I use Java 1.5.0 14 JDK (32) and Seam 2.0.0 GA.
I have the Hibernate2 example running and I have everything same from it except my own ant script. I even checked with ant -v that classpaths end up the same.

Here is what I get:

   [testng] FAILED CONFIGURATION: @BeforeClass init
  |    [testng] java.lang.RuntimeException: Could not create Component: org.jboss.seam.transaction.transaction
  |    [testng]     at org.jboss.seam.init.Initialization.addComponent(Initialization.java:976)
  |    [testng]     at org.jboss.seam.init.Initialization.installComponents(Initialization.java:903)
  |    [testng]     at org.jboss.seam.init.Initialization.init(Initialization.java:548)
  |    [testng]     at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:939)
  |    [testng]     at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |    [testng] Caused by: java.lang.IllegalArgumentException: No converter for type: org.jboss.seam.core.Expressions$ValueExpression
  |    [testng]     at org.jboss.seam.util.Conversions.getConverter(Conversions.java:55)
  |    [testng]     at org.jboss.seam.Component$ConstantInitialValue.<init>(Component.java:2302)
  |    [testng]     at org.jboss.seam.Component.getInitialValue(Component.java:514)
  |    [testng]     at org.jboss.seam.Component.getTopInitialValue(Component.java:494)
  |    [testng]     at org.jboss.seam.Component.initInitializers(Component.java:472)
  |    [testng]     at org.jboss.seam.Component.<init>(Component.java:263)
  |    [testng]     at org.jboss.seam.Component.<init>(Component.java:216)
  |    [testng]     at org.jboss.seam.init.Initialization.addComponent(Initialization.java:961)
  |    [testng]     ... 26 more
  |    [testng] ... Removed 22 stack frames
  |    [testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |    [testng] SKIPPED CONFIGURATION: @AfterMethod end
  |    [testng] SKIPPED CONFIGURATION: @AfterClass cleanup
  |    [testng] SKIPPED: testIntact
  | 

I cannot figure out what I am missing


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108222#4108222

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108222



More information about the jboss-user mailing list