FAQ
I have tried some version from 23 May to the latest, but I still get
this error. It seems the class file in
org.springframework.security.oauth2.provider.BaseClientDetails have
changed, which leads to the constructor can not be found.

The tracks are below:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /root/cloudfoundry/vcap/uaa/common/src/main/java/org/
cloudfoundry/identity/uaa/integration/TestAccountSetup.java:[102,36]
cannot find symbol
symbol : constructor
BaseClientDetails(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
location: class
org.springframework.security.oauth2.provider.BaseClientDetails
[ERROR] /root/cloudfoundry/vcap/uaa/common/src/main/java/org/
cloudfoundry/identity/uaa/integration/TestAccountSetup.java:[117,36]
cannot find symbol
symbol : constructor
BaseClientDetails(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
location: class
org.springframework.security.oauth2.provider.BaseClientDetails
[ERROR] /root/cloudfoundry/vcap/uaa/common/src/main/java/org/
cloudfoundry/identity/uaa/integration/TestAccountSetup.java:[125,36]
cannot find symbol
symbol : constructor
BaseClientDetails(<nulltype>,java.lang.String,java.lang.String,java.lang.String)
location: class
org.springframework.security.oauth2.provider.BaseClientDetails
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] CloudFoundry Identity - Parent .................... SUCCESS
[1.549s]
[INFO] CloudFoundry Identity Common Jar .................. FAILURE
[13.601s]
[INFO] User Account and Authentication Service ........... SKIPPED
[INFO] CloudFoundry Identity - Samples ................... SKIPPED
[INFO] Sample resource server for Cloudfoundry Identity Services
SKIPPED
[INFO] Sample user webapp for Cloudfoundry Identity Services SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE

Anyone got this before? Or the script need to be upgrated now.

Search Discussions

  • Joel D'sa at Jun 12, 2012 at 8:53 pm
    You need to update your uaa repository to master.

    After that, run mvn clean install in the repository.
    On Tue, Jun 12, 2012 at 12:18 AM, junfang cheng wrote:

    I have tried some version from 23 May to the latest, but I still get
    this error. It seems the class file in
    org.springframework.security.oauth2.provider.BaseClientDetails have
    changed, which leads to the constructor can not be found.

    The tracks are below:

    [INFO] -------------------------------------------------------------
    [ERROR] COMPILATION ERROR :
    [INFO] -------------------------------------------------------------
    [ERROR] /root/cloudfoundry/vcap/uaa/common/src/main/java/org/
    cloudfoundry/identity/uaa/integration/TestAccountSetup.java:[102,36]
    cannot find symbol
    symbol : constructor

    BaseClientDetails(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
    location: class
    org.springframework.security.oauth2.provider.BaseClientDetails
    [ERROR] /root/cloudfoundry/vcap/uaa/common/src/main/java/org/
    cloudfoundry/identity/uaa/integration/TestAccountSetup.java:[117,36]
    cannot find symbol
    symbol : constructor

    BaseClientDetails(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
    location: class
    org.springframework.security.oauth2.provider.BaseClientDetails
    [ERROR] /root/cloudfoundry/vcap/uaa/common/src/main/java/org/
    cloudfoundry/identity/uaa/integration/TestAccountSetup.java:[125,36]
    cannot find symbol
    symbol : constructor

    BaseClientDetails(<nulltype>,java.lang.String,java.lang.String,java.lang.String)
    location: class
    org.springframework.security.oauth2.provider.BaseClientDetails
    [INFO] 3 errors
    [INFO] -------------------------------------------------------------
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] CloudFoundry Identity - Parent .................... SUCCESS
    [1.549s]
    [INFO] CloudFoundry Identity Common Jar .................. FAILURE
    [13.601s]
    [INFO] User Account and Authentication Service ........... SKIPPED
    [INFO] CloudFoundry Identity - Samples ................... SKIPPED
    [INFO] Sample resource server for Cloudfoundry Identity Services
    SKIPPED
    [INFO] Sample user webapp for Cloudfoundry Identity Services SKIPPED
    [INFO]
    ------------------------------------------------------------------------
    [INFO] BUILD FAILURE

    Anyone got this before? Or the script need to be upgrated now.
  • Junfang cheng at Jun 13, 2012 at 8:53 am
    I'm sorry to say that there still exist the compilation error.I have
    tried according to this.
    On Jun 12, 4:52 pm, "Joel D'sa" wrote:
    You need to update your uaa repository to master.

    After that, run mvn clean install in the repository.

    On Tue, Jun 12, 2012 at 12:18 AM, junfang cheng wrote:






    I have tried some version from 23 May to the latest, but I still get
    this error. It seems the class file in
    org.springframework.security.oauth2.provider.BaseClientDetails have
    changed, which leads to the constructor can not be found.
    The tracks are below:
    [INFO] -------------------------------------------------------------
    [ERROR] COMPILATION ERROR :
    [INFO] -------------------------------------------------------------
    [ERROR] /root/cloudfoundry/vcap/uaa/common/src/main/java/org/
    cloudfoundry/identity/uaa/integration/TestAccountSetup.java:[102,36]
    cannot find symbol
    symbol  : constructor
    BaseClientDetails(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
    location: class
    org.springframework.security.oauth2.provider.BaseClientDetails
    [ERROR] /root/cloudfoundry/vcap/uaa/common/src/main/java/org/
    cloudfoundry/identity/uaa/integration/TestAccountSetup.java:[117,36]
    cannot find symbol
    symbol  : constructor
    BaseClientDetails(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
    location: class
    org.springframework.security.oauth2.provider.BaseClientDetails
    [ERROR] /root/cloudfoundry/vcap/uaa/common/src/main/java/org/
    cloudfoundry/identity/uaa/integration/TestAccountSetup.java:[125,36]
    cannot find symbol
    symbol  : constructor
    BaseClientDetails(<nulltype>,java.lang.String,java.lang.String,java.lang.String)
    location: class
    org.springframework.security.oauth2.provider.BaseClientDetails
    [INFO] 3 errors
    [INFO] -------------------------------------------------------------
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] CloudFoundry Identity - Parent .................... SUCCESS
    [1.549s]
    [INFO] CloudFoundry Identity Common Jar .................. FAILURE
    [13.601s]
    [INFO] User Account and Authentication Service ........... SKIPPED
    [INFO] CloudFoundry Identity - Samples ................... SKIPPED
    [INFO] Sample resource server for Cloudfoundry Identity Services
    SKIPPED
    [INFO] Sample user webapp for Cloudfoundry Identity Services  SKIPPED
    [INFO]
    ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    Anyone got this before? Or the script need to be upgrated now.
  • Dave Syer at Jun 14, 2012 at 12:07 pm

    On Jun 13, 9:52 am, junfang cheng wrote:
    I'm sorry to say that there still exist the compilation error.I have
    tried according to this.
    Works for me too. Can you post the commit log or commit id from your
    uaa ($ cd uaa && git log --max-count=1)? Make sure you "git submodule
    update" your vcap as well.
  • 张 磊 at Jun 18, 2012 at 3:22 am
    The uaa repository is below:

    commit 42326015c523642826e7cd129e8d7207923377ff
    Author: Dale Olds <olds@vmware.com>
    Date: Tue Jun 12 19:19:51 2012 -0700

    CFID-322: Fix implicit flow in uaa client gem so usernames with
    '+' can login

    Change-Id: I76ef95a7f98fe0bb15b913d393bde377

    Now there's no compilation problem. But there's a new error in log
    file of uaa:

    [2012-06-18 10:40:36.253] uaa - 3307 [http-bio-8080-exec-4] .... ERROR
    --- DispatcherServlet: Context initialization failed
    org.springframework.beans.factory.BeanDefinitionStoreException:
    Invalid bean definition with name 'scimUserProvisioning' defined in
    ServletContext resource [/WEB-INF/spring-scim.xml]: Could not resolve
    placeholder 'database.deactivate.on.delete'
    at
    org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:
    209)
    at
    org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(PropertySourcesPlaceholderConfigurer.java:
    174)
    at
    org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:
    151)
    at
    org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:
    681)
    at
    org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:
    656)
    at
    org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:
    446)
    at
    org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:
    631)
    at
    org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:
    588)
    at
    org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:
    645)
    at
    org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:
    508)
    at
    org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:
    449)
    at
    org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:
    133)
    at javax.servlet.GenericServlet.init(GenericServlet.java:160)
    at
    org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:
    1266)
    at
    org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
    1185)
    at
    org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
    857)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
    136)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
    169)
    at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:
    472)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
    168)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
    98)
    at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
    927)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
    118)
    at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
    407)
    at
    org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:
    999)
    at org.apache.coyote.AbstractProtocol
    $AbstractConnectionHandler.process(AbstractProtocol.java:565)
    at org.apache.tomcat.util.net.JIoEndpoint
    $SocketProcessor.run(JIoEndpoint.java:307)
    at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
    1110)
    at java.util.concurrent.ThreadPoolExecutor
    $Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:636)
    On Jun 14, 8:06 pm, Dave Syer wrote:
    On Jun 13, 9:52 am, junfang cheng wrote:

    I'm sorry to say that there still exist the compilation error.I have
    tried according to this.
    Works for me too.  Can you post the commit log or commit id from your
    uaa ($ cd uaa && git log --max-count=1)?  Make sure you "git submodule
    update" your vcap as well.
  • 张 磊 at Jun 18, 2012 at 6:43 am
    I changed the uaa to the commit of Dave Syer, everything is OK now. It
    seems the latest commit has something wrong.
    On Jun 14, 8:06 pm, Dave Syer wrote:
    On Jun 13, 9:52 am, junfang cheng wrote:

    I'm sorry to say that there still exist the compilation error.I have
    tried according to this.
    Works for me too.  Can you post the commit log or commit id from your
    uaa ($ cd uaa && git log --max-count=1)?  Make sure you "git submodule
    update" your vcap as well.
  • Dave Syer at Jun 18, 2012 at 6:55 am

    On 18/06/12 07:43, 张 磊 wrote:
    I changed the uaa to the commit of Dave Syer, everything is OK now. It
    seems the latest commit has something wrong.
    Thanks for the analysis. I'll fix it.

    D.

    --
    Dave Syer
    dsyer@vmware.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupvcap-dev @
postedJun 12, '12 at 7:18a
activeJun 18, '12 at 6:55a
posts7
users5

People

Translate

site design / logo © 2022 Grokbase