<div dir="ltr"><div>Good morning community:</div><div><br></div><div>I've found part of the solution to this problem. I looked at the part that says that the pointer was importing to a null reference and I realized that it was related to the xsd that is created in the module itself we use for our website.</div><div><br></div><div>We have created 12 different types of content created and when I go to the folder from where the use I see that they all appear as text file and not the kind I want to use, that is, it does not recognize me the xsd.</div><div><br></div><div>I found a solution that is right click on the resource you want to modify, go to Advanced > Change type and there you can select the new type. As you will understand this task to make migrating from an older version is quite tedious because I have thousands of news, folders, and others ... My question is ... is there any way that recognizes the xsd directly without having to go changing by hand recourse to appeal?</div><div><br></div><div>For if you serve as a reference, the structure of our own module is:</div><div>- Classes (here we have the properties to our workspace defined for Spanish and English)</div><div>- Elements</div><div>- Galleries (where are pdfs, images, other files that are part of the web)</div><div>- XmlSchemaDefinitions (where are our own xsd created)</div><div>- The JSP that serve as reference for templates</div><div>- Lib (folder which is currently empty)</div><div>- Resources (where css, js and images are)</div><div>- Templates (JSP templates)</div><div><br></div><div>Within XMLSchemaDefinitions, they are xsd:</div><div>- Contenido.xsd</div><div>- Curso.xsd</div><div>- Directorio.xsd</div><div>- Documento.xsd</div><div>- Enlaces.xsd</div><div>- Imagenes.xsd</div><div>- Noticias.xsd</div><div>- Ponente.xsd</div><div>- Pregunta.xsd</div><div>- Titulo.xsd</div><div><br></div><div>What am I missing? Any change in a configuration file?</div><div><br></div><div>Thanks for your comprehension. Best regards.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-14 14:15 GMT+02:00 Ricardo Sanchez <span dir="ltr"><<a href="mailto:ricsanc1987@gmail.com" target="_blank">ricsanc1987@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello list:</div><div><br></div><div>I imported the templateone, I assure that within it is the class that needs to function properly and still no go. I give you an example of the error message shown me:</div><div><br></div><div><div>Stacktrace:</div><div>Motivo: Unable to compile class for JSP:</div><div><br></div><div>An error occurred at line: 16 in the jsp file: /WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templatetwo/templates/main.jsp</div><div>CmsTemplateLayout cannot be resolved to a type</div><div>13: // be found at the following VFS location:</div><div>14: // /system/modules/org.opencms.frontend.templatetwo/java_src/CmsTemplateLayout.java</div><div>15:</div><div>16: CmsTemplateLayout cms = new CmsTemplateLayout(pageContext, request, response);</div><div>17: pageContext.setAttribute("cms", cms);</div><div>18: %></div><div>19: <cms:template element="head"></div></div><div><br></div><div>As I said before, the .java file is located in the appropriate folder. I'm a little desperate because I am incapable of finding a solution. </div><div><br></div><div>Thank you. A greeting.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-09-10 13:06 GMT+02:00 Ricardo Sanchez <span dir="ltr"><<a href="mailto:ricsanc1987@gmail.com" target="_blank">ricsanc1987@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thank you for your answer Paul.</div><div><br></div><div>With the indications that you gave me the problem disappeared, in the WEB-INF lib the jar of templateone missed. But unfortunately after a problem always comes another, now I get the following:</div><div><br></div><div>An unexpected Happened mistake, but no fault message has been provided.</div><div>Please check the bug details or contact your system administrator.</div><div><br></div><div>All I did was change the path of the original file because I am now in a context of testing. The route is well written, I know it can be due, or if it is related to the problem described in the previous message.</div><div><br></div><div>Thank you very much for your collaboration. Regards.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-10 10:18 GMT+02:00 Ricardo Sanchez <span dir="ltr"><<a href="mailto:ricsanc1987@gmail.com" target="_blank">ricsanc1987@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello list:</div><div><br></div><div>I think I have already identified what the problem is. I imported in OpenCms modules that had in the old version that were related to templateone.</div><div><br></div><div>Reviewing the queue, I saw for example when importing org.opencms.frontend.templateone displayed the following message:</div><div><br></div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">Publicando
ficheros ...</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 1 / 86 )
Publicando fichero /system/galleries/pics/ocms-templateone/bg_nav.jpg ... o.k.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 2 / 86 )
Publicando fichero /system/galleries/pics/ocms-templateone/head_img.jpg ...
o.k.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 3 / 86 )
Publicando fichero /system/galleries/pics/ocms-templateone/logo_alkacon_150.png
... o.k.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 4 / 86 )
Publicando fichero /system/galleries/pics/ocms-templateone/logo_opencms_150.png
... o.k.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 5 / 86 )
Publicando fichero
/system/modules/org.opencms.frontend.templateone/classes/org/opencms/frontend/templateone/workplace.properties
... fallo</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 6 / 86 )
Publicando fichero
/system/modules/org.opencms.frontend.templateone/classes/org/opencms/frontend/templateone/workplace_de.properties
... o.k.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 7 / 86 )
Publicando fichero /system/modules/org.opencms.frontend.templateone/classes/org/opencms/frontend/templateone/workplace_en.properties
... fallo</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 8 / 86 )
Publicando fichero
/system/modules/org.opencms.frontend.templateone/classes/templateone.properties
... fallo</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 9 / 86 )
Publicando fichero /system/modules/org.opencms.frontend.templateone/classes/templateone_de.properties
... o.k.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 10 / 86 )
Publicando fichero
/system/modules/org.opencms.frontend.templateone/classes/templateone_en.properties
... fallo</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 11 / 86 )
Publicando fichero /system/modules/org.opencms.frontend.templateone/classes/templateone_form.properties
... fallo</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 12 / 86 )
Publicando fichero
/system/modules/org.opencms.frontend.templateone/classes/templateone_form_de.properties
... o.k.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 13 / 86 )
Publicando fichero /system/modules/org.opencms.frontend.templateone/classes/templateone_form_en.properties
... fallo( 56 / 86 ) Publicando fichero
/system/modules/org.opencms.frontend.templateone/resources/icons/ic_app_htm.gif
... fallo</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;line-height:115%;font-family:'Times New Roman',serif">( 57 / 86 )
Publicando fichero /system/modules/org.opencms.frontend.templateone/resources/icons/ic_app_html.gif
... fallo( 65 / 86 ) Publicando fichero
/system/modules/org.opencms.frontend.templateone/resources/menu_over.js ...
fallo</span></p></div><div><br></div><div>Failure = failure</div><div><br></div><div>Similarly it works on other modules such as org.opencms.frontend.templateone.form importé</div><div>org.opencms.frontend.layoutpage</div><div>org.opencms.frontend.templatetwo</div><div>org.opencms.frontend.templatetwo.demo</div><div><br></div><div>When I import org.opencms.frontend.templateone.modules also displays the following error:</div><div>(3/64) Publishing file /system/modules/org.opencms.frontend.templateone.modules/classes/org/opencms/frontend/templateone/modules/workplace_en.properties ... Failure (2) File Indexing failure /system/modules/org.opencms.frontend.templateone.modules/copyresources/_configuration/layoutright ...</div><div>org.opencms.main.CmsRuntimeException: Unable to unmarshal XML schema definition content "opencms: //system/modules/org.opencms.frontend.templateone.modules/schemas/layouts.xsd".</div><div><br></div><div>What may be due? Do I have to change something in the modules that I imported? Thanks for your answers. </div></div><div><br></div><div>Best regards.</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>