Comments on: Create AEM Project Structure using Lazybones http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/ Thu, 27 Dec 2018 19:42:33 +0000 hourly 1 https://wordpress.org/?v=6.4.7 By: Hemanth Kumar http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-89315 Thu, 27 Dec 2018 19:42:33 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-89315 In reply to Ankur Ahlawat.

Good one! If possible update this in the article as a note. It’s hard to see this solution in comments.

Cheers!!

]]>
By: lisha http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-85046 Tue, 18 Dec 2018 17:49:21 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-85046 In reply to Uma Nath Jha.

HI i am facing the same issue while importing the project in eclipse
could you please help me how to resolve it

]]>
By: Susvesh http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-17717 Thu, 01 Feb 2018 09:43:39 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-17717 Hi

I’m facing the below error while creating a project structure using lazybones –

“Creating project from template aem-multimodule-project (latest) in ‘trainingaem’
Unexpected failure: Connection reset
Cannot create a new project when the template isn’t locally cached or no version is specified”

Command – lazybones create aem-multimodule-project trainingaem
Windows – 10
Java Version – 1.8.0_151

Also followed up on the below suggestion you gave, but nothing worked.
“I created a new folder under C: named training and used the command – lazybones create aem-multimodule-project training”
Still facing this error – Cannot create a new project when the template isn’t locally cached or no version is specified.

Is something wrong with the lazybones package from this link u provided? – https://bintray.com/pledbrook/lazybones-templates/lazybones#files
I extracted the lazybones zip file from the link u gave and set environmental path of its bin folder too.

I could see many people facing the same error but nobody was able to provide a solution to it really.
Iam not able to figure out why I’m getting that error. Can u suggest something?

Thanks

]]>
By: Kent Taylor http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-15848 Thu, 16 Nov 2017 14:43:40 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-15848 Same issue as the others with project creation and connection reset:
Digging deeper:

C:\Users\I268209\test_lazybones>lazybones list
Can’t connect to pledbrook/lazybones-templates: Connection reset

C:\Users\I268209\test_lazybones>lazybones list –cached
Cached templates

Exception in thread “main” java.lang.NullPointerException: Cannot invoke method
sort() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:8
8)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaC
lassSite.java:45)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSi
teArray.java:45)
at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.j
ava:32)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSi
teArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa
llSite.java:110)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa
llSite.java:122)
at uk.co.cacoethes.lazybones.commands.ListCommand.findMatchingTemplates(
ListCommand.groovy:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
90)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaM
ethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:148)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(
StaticMetaMethodSite.java:99)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(
CallSiteArray.java:53)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(Abst
ractCallSite.java:191)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(Abst
ractCallSite.java:211)
at uk.co.cacoethes.lazybones.commands.ListCommand.handleCachedTemplates(
ListCommand.groovy:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
90)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaM
ethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:148)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(
StaticMetaMethodSite.java:99)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(
CallSiteArray.java:53)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(Abst
ractCallSite.java:191)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(Abst
ractCallSite.java:203)
at uk.co.cacoethes.lazybones.commands.ListCommand.doExecute(ListCommand.
groovy:62)
at uk.co.cacoethes.lazybones.commands.AbstractCommand.execute(AbstractCo
mmand.groovy:30)
at uk.co.cacoethes.lazybones.LazybonesMain.main(LazybonesMain.groovy:89)

So a connectivity issue across the board? Do we have a problem with our proxy?

Windows 7 Enterprise
apache-maven-3.5.2
AEM 6.3

]]>
By: Parusharamudu http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-15706 Thu, 09 Nov 2017 15:16:05 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-15706 Hi Ankur,

Very informative article. Thanks for sharing.

]]>
By: Ankur Ahlawat http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-15596 Sun, 05 Nov 2017 03:19:57 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-15596 In reply to Hemant Bellani.

Can you please try running this command lazybones create aem-multimodule-project 0.0.38 aemtraining. Just FYI 0.0.38 is latest aem-multimodule-project version, it is a optional parameter. By the error it seems like it is looking for template version in your case. Just try passing this as well.

]]>
By: Hemant Bellani http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-15403 Fri, 27 Oct 2017 10:28:19 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-15403 Hi Ankur,

I have downloaded the lazybones – lazybones-0.8.3 and used the command :
lazybones create aem-multimodule-project aemtraining
and
receive the response as below:
Creating project from template aem-multimodule-project (latest) in ‘aemtraining’
(Offline mode – run with -v or –stacktrace to find out why)

Cannot create a new project when the template isn’t locally cached or no version is specified

Could you please point me to a probable reason ?

Thanks in advance !
– Hemant Bellani

]]>
By: Ramachandra Pai http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-14464 Fri, 06 Oct 2017 09:54:03 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-14464 Awesome Article Ankur! Is there a way I can add more modules like ui.config to the sample project? I can only see ui.apps and core got created with this.

]]>
By: Satyam Bansal http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-14112 Mon, 25 Sep 2017 13:11:17 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-14112 </p> ]]> Awesome Ankur. Nice work 🙂

]]>
By: Vinay http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/#comment-13552 Sat, 26 Aug 2017 05:20:57 +0000 http://www.aemcq5tutorials.com/?p=2770#comment-13552 This is great… Thanks

]]>