I’m currently doing the Bloomreach developer foundations course and i’m stuck at the following.
All calls from the frontend to the resource api give me a status 400 error (bad request). I’ve set up the delivery api as per step 2.5 of the course. Also using the direct link in the browser does not work so I don’t suggest a CORS error as this is also handled in step 2.5.
This used to work a few weeks ago and I haven’t changed anything since, as far as I know. So I’m kind of lost and don’t know where to check.
Sorry, there’s not enough information here to help with a fix, could you share your resource API configuration? Is your local FE at localhost:3000? Make sure your response headers are set to the same. Where do you experience the 400? via the browser? curl? experience manager? or all 3?
jordy@Jordys-MacBook-Pro myproject % mvn -Pcargo.run -Drepo.path=storage
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< org.example:myproject >------------------------
[INFO] Building My Project 0.1.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven-versions) @ myproject ---
[INFO]
[INFO] --- cargo:1.7.15:start (cargo-run) @ myproject ---
[INFO] [talledLocalContainer] Tomcat 9.x starting...
[INFO] [stalledLocalDeployer] Deploying [/Users/jordy/projects/myproject/cms/target/cms] to [/Users/jordy/projects/myproject/target/tomcat9x/webapps]...
[INFO] [stalledLocalDeployer] Deploying WAR by creating Tomcat context XML file in [/Users/jordy/projects/myproject/target/tomcat9x/conf/Catalina/localhost]...
[INFO] [stalledLocalDeployer] Deploying [/Users/jordy/projects/myproject/essentials/target/essentials] to [/Users/jordy/projects/myproject/target/tomcat9x/webapps]...
[INFO] [talledLocalContainer] Listening for transport dt_socket at address: 8000
[WARNING] [talledLocalContainer] 11-Oct-2023 09:46:00.521 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Connector] failed to set property [emptySessionPath] to [cargo.tomcat.connector.emptySessionPath]
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:00.619 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/Users/jordy/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:01.246 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:01.307 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1080] milliseconds
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:01.462 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:01.462 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.59]
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:01.473 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/Users/jordy/projects/myproject/target/tomcat9x/conf/Catalina/localhost/site.xml]
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:10.998 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/Users/jordy/projects/myproject/target/tomcat9x/conf/Catalina/localhost/site.xml] has finished in [9,522] ms
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:11.008 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/Users/jordy/projects/myproject/target/tomcat9x/webapps/cargocpc.war]
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:11.305 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/Users/jordy/projects/myproject/target/tomcat9x/webapps/cargocpc.war] has finished in [296] ms
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:11.307 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/jordy/projects/myproject/target/tomcat9x/webapps/manager]
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:11.405 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/jordy/projects/myproject/target/tomcat9x/webapps/manager] has finished in [97] ms
[INFO] [talledLocalContainer] 11-Oct-2023 09:46:11.405 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/jordy/projects/myproject/target/tomcat9x/webapps/cms]
[INFO] [talledLocalContainer] 09:46:36 INFO Start index consistency check
[INFO] [talledLocalContainer] 09:46:37 INFO No errors detected
[INFO] [talledLocalContainer] 09:46:37 INFO Finished index repair in 1008 ms
[INFO] [talledLocalContainer] 11.10.2023 09:46:47 WARN main [ConfigurationContentService.warnForDuplicateOrderBefores:251] Following node(s) reference the same node multiple times in order-before:
[INFO] [talledLocalContainer] /hst:myproject/hst:configurations/myproject/hst:workspace/hst:sitemenus/main/home in myproject/myproject/myproject/myproject-repository-data-site [content: hst/configurations/myproject/workspace/sitemenus/main/home.yaml],
[INFO] [talledLocalContainer] /hst:myproject/hst:configurations/myproject/hst:workspace/hst:sitemenus/main/news in myproject/myproject/myproject/myproject-repository-data-site [content: hst/configurations/myproject/workspace/sitemenus/main/news.yaml]
[INFO] [talledLocalContainer] 09:46:57 INFO Automatic reload of browsers is enabled
[INFO] [talledLocalContainer] 09:46:58 INFO Using file system poller (delay: 500 ms)
[INFO] [talledLocalContainer] 09:46:58 INFO Auto reload and Web Files watching enabled. Start with initial (re-)import
[INFO] [talledLocalContainer] 09:46:58 INFO Importing directory '/Users/jordy/projects/myproject/repository-data/webfiles/src/main/resources/site'
[INFO] [talledLocalContainer] 11.10.2023 09:46:59 ERROR main [LocalHippoRepository.start:329]
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] Insecure default administrator credentials are enabled! Change the password!
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] 09:46:59 INFO Changes to repository path '/' will be exported to directory 'repository-data/application'
[INFO] [talledLocalContainer] 09:46:59 INFO Changes to repository path '/hst:myproject' will be exported to directory 'repository-data/site'
[INFO] [talledLocalContainer] 09:46:59 INFO Module at 'repository-data/development' registered to update existing definitions via auto-export without mapping to a repository path
[INFO] [talledLocalContainer] 09:46:59 INFO Module at 'repository-data/site-development' registered to update existing definitions via auto-export without mapping to a repository path
[INFO] [talledLocalContainer] 09:46:59 INFO autoexport service enabled
[WARNING] [talledLocalContainer] WARNING: An illegal reflective access operation has occurred
[WARNING] [talledLocalContainer] WARNING: Illegal reflective access by org.springframework.util.ReflectionUtils (file:/Users/jordy/projects/myproject/target/tomcat9x/webapps/cms/WEB-INF/lib/spring-core-5.3.22.jar) to method java.util.Collections$SynchronizedCollection.addAll(java.util.Collection)
[WARNING] [talledLocalContainer] WARNING: Please consider reporting this to the maintainers of org.springframework.util.ReflectionUtils
[WARNING] [talledLocalContainer] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[WARNING] [talledLocalContainer] WARNING: All illegal access operations will be denied in a future release
[INFO] [talledLocalContainer] 11.10.2023 09:47:20 WARN main [AbstractApplicationContext.refresh:591] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pageModelAggregationValve' defined in URL [jar:file:/Users/jordy/projects/myproject/site/webapp/target/site/WEB-INF/lib/hst-pagemodelapi-v10-15.2.2.jar!/META-INF/hst-assembly/addon/org/hippoecm/hst/pagemodelapi/v10/SpringComponentManager-pagemodel.xml]: Unsatisfied dependency expressed through constructor parameter 1: Could not convert argument value of type [java.util.LinkedHashMap] to required type [java.util.Map]: Failed to convert value of type 'java.util.LinkedHashMap' to required type 'java.util.Map'; nested exception is java.lang.IllegalArgumentException: Could not find class [org.example.mixin.ComponentWindowModelMixin]
[INFO] [talledLocalContainer] 11.10.2023 09:47:20 ERROR main [SpringComponentManager.initialize:163] Failed to initialize invalid module instance, {org.hippoecm.hst.pagemodelapi.v10}, which will be just closed and ignored.
[INFO] [talledLocalContainer] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pageModelAggregationValve' defined in URL [jar:file:/Users/jordy/projects/myproject/site/webapp/target/site/WEB-INF/lib/hst-pagemodelapi-v10-15.2.2.jar!/META-INF/hst-assembly/addon/org/hippoecm/hst/pagemodelapi/v10/SpringComponentManager-pagemodel.xml]: Unsatisfied dependency expressed through constructor parameter 1: Could not convert argument value of type [java.util.LinkedHashMap] to required type [java.util.Map]: Failed to convert value of type 'java.util.LinkedHashMap' to required type 'java.util.Map'; nested exception is java.lang.IllegalArgumentException: Could not find class [org.example.mixin.ComponentWindowModelMixin]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:768) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.22.jar:5.3.22]
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.addon.module.runtime.ModuleInstanceImpl.initialize(ModuleInstanceImpl.java:110) ~[hst-core-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.container.SpringComponentManager.initialize(SpringComponentManager.java:160) [hst-core-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.container.DefaultHstSiteConfigurer.initializeComponentManager(DefaultHstSiteConfigurer.java:260) [hst-core-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.container.DefaultHstSiteConfigurer.initialize(DefaultHstSiteConfigurer.java:226) [hst-core-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.container.HstContextLoaderListener.configureHstSite(HstContextLoaderListener.java:104) [hst-core-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.container.HstContextLoaderListener$1.serviceRegistered(HstContextLoaderListener.java:82) [hst-core-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.onehippo.cms7.services.HippoServiceRegistry.register(HippoServiceRegistry.java:119) [hippo-services-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.hippoecm.hst.platform.container.HstPlatformContextLoaderListener.initializeHstPlaform(HstPlatformContextLoaderListener.java:103) [hst-platform-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.hippoecm.hst.platform.container.HstPlatformContextLoaderListener$2.serviceRegistered(HstPlatformContextLoaderListener.java:69) [hst-platform-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.onehippo.cms7.services.HippoServiceRegistry.register(HippoServiceRegistry.java:119) [hippo-services-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:230) [hippo-repository-servlets-15.2.2.jar:15.2.2]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1164) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1117) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1010) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5264) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
[INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
[INFO] [talledLocalContainer] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.59]
[INFO] [talledLocalContainer] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) [?:?]
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
[INFO] [talledLocalContainer] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.59]
[INFO] [talledLocalContainer] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) [?:?]
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:772) [catalina.jar:9.0.59]
[INFO] [talledLocalContainer] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[INFO] [talledLocalContainer] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[INFO] [talledLocalContainer] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345) [bootstrap.jar:9.0.59]
[INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476) [bootstrap.jar:9.0.59]
[INFO] [talledLocalContainer] 11.10.2023 09:47:20 ERROR main [SpringComponentManager.initialize:141] Failed to initialize invalid module instance, {com.onehippo.hst.pagemodelapi.v10}, because the parent 'org.hippoecm.hst.pagemodelapi.v10' does not exist. Module instance will be ignored.
[INFO] [talledLocalContainer] 11-Oct-2023 09:47:22.637 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/jordy/projects/myproject/target/tomcat9x/webapps/cms] has finished in [71,230] ms
[INFO] [talledLocalContainer] 11-Oct-2023 09:47:22.641 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/jordy/projects/myproject/target/tomcat9x/webapps/host-manager]
[INFO] [talledLocalContainer] 11-Oct-2023 09:47:22.842 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/jordy/projects/myproject/target/tomcat9x/webapps/host-manager] has finished in [201] ms
[INFO] [talledLocalContainer] 11-Oct-2023 09:47:22.843 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/jordy/projects/myproject/target/tomcat9x/webapps/essentials]
[INFO] [talledLocalContainer] 11-Oct-2023 09:47:28.094 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/jordy/projects/myproject/target/tomcat9x/webapps/essentials] has finished in [5,249] ms
[INFO] [talledLocalContainer] 11-Oct-2023 09:47:28.104 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
[INFO] [talledLocalContainer] 11-Oct-2023 09:47:28.125 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [86816] milliseconds
[INFO] [talledLocalContainer] Tomcat 9.x started on port [8080]
[INFO]
[INFO] --- antrun:3.0.0:run (cargo-started) @ myproject ---
[INFO] Executing tasks
[WARNING] [echo] Press Ctrl-C to stop the Cargo container...
[INFO] [talledLocalContainer] 11.10.2023 09:55:24 INFO http-nio-8080-exec-4 [DynamicBeanDefinitionService.generateBeanDefinition:180] Creating bean of document type myproject:basedocument from parent bean BaseDocument.
[INFO] [talledLocalContainer] 11.10.2023 09:55:24 INFO http-nio-8080-exec-4 [DynamicBeanDefinitionService.generateBeanDefinition:189] Bean BaseDocument is not enhanced because it doesn't have any missing methods.
[INFO] [talledLocalContainer] 11.10.2023 09:55:24 INFO http-nio-8080-exec-4 [DynamicBeanDefinitionService.generateBeanDefinition:180] Creating bean of document type myproject:bannerdocument from parent bean Banner.
[INFO] [talledLocalContainer] 11.10.2023 09:55:24 INFO http-nio-8080-exec-4 [DynamicBeanDefinitionService.generateBeanDefinition:189] Bean Banner is not enhanced because it doesn't have any missing methods.
[INFO] [talledLocalContainer] 11.10.2023 09:55:24 INFO http-nio-8080-exec-4 [DynamicBeanDefinitionService.generateBeanDefinition:180] Creating bean of document type myproject:contentdocument from parent bean ContentDocument.
[INFO] [talledLocalContainer] 11.10.2023 09:55:25 INFO http-nio-8080-exec-4 [DynamicBeanDefinitionService.generateBeanDefinition:195] Bean ContentDocument$Contentdocument$quL2ko7d is created.
[INFO] [talledLocalContainer] 11.10.2023 09:55:25 INFO http-nio-8080-exec-4 [DynamicBeanDefinitionService.generateBeanDefinition:180] Creating bean of document type myproject:newsdocument from parent bean NewsDocument.
[INFO] [talledLocalContainer] 11.10.2023 09:55:25 INFO http-nio-8080-exec-4 [DynamicBeanDefinitionService.generateBeanDefinition:189] Bean NewsDocument is not enhanced because it doesn't have any missing methods.
I see that spring error on startup. I don’t know why you are getting that error, but it means that something went wrong with pagemodelapi on startup. I assume you used the pre configured project provided? Or did you set up a project yourself?
You post of the logs was stuck in moderation. It was automatically marked as spam by our spam bot, apologies. I see more spring errors preceding this. I don’t get that running the training project locally.
I’m wondering where this is coming from:
Could not find class [org.example.mixin.ComponentWindowModelMixin]
My first suggestion would have to be to just do mvn clean verify and then try again. Some classes and packages seem to be missing but I can’t really say why.