There are several components in libraries Crux-widgets and Crux-smart-faces which can serve as an example to help you mount your own. These components are available on github.
A good example, similar to the one shown in the tutorial, is the Menutabsdisposal component. Here you can see the implementation of the component interfaces and Here you can see the files with the visual declaration of the components.
Note that they must be contained in the same package. In this case, I am sending two links because this is a Maven project and the java classes are under the src/main/java structure and the screen files are under src/main/Resources, but note that the files are all within the same package.
If these examples are not enough, please post the code you are trying to assemble, which I can help you identify where the error is.
EDIT
About this error pointed out in the comment, it seems to me that Crux is not finding the component view file (in this case, topMenuDisposalLarge.xdevice.xml).
Make sure it is in the same package as the component interface (in this case, Topmenudisposal).
If the project is using a structure where sources are separate from Resources (such as a Maven project, where we have src/main/java and src/main/Resources), check that the folder where the view file is located (.xdevice.xml) is in the classpath of the executed Launcher.
EDIT 2
Yesterday (15/12/2015) a new version of Crux was released (5.4.0). Along with this version, a Crux plugin for Maven was created (Crux-Maven-plugin).
If you are working with Maven, I suggest upgrading to the new version and trying to use the plugin. It makes it very easy to set up your pom and I believe it can help solve problems like the one you reported (classpath configuration when running codeserver, devmode etc).
Documentation for this new version is here: http://files.cruxframework.org/crux54/index.html
EDIT 3
About the generation of Xsds... Along with Crux 5.4, a plugin of Crux for the Maven (Crux-Maven-plugin) has been released. Schemas are now generated by the plugin. Take a look at the 5.4 version manual that describes how to use:
http://files.cruxframework.org/crux54/index.html#sec_tools_schcema
Basically, just set up the new plugin in pom.xml and call mvn Crux:generate-xsds
Abcs.
Thiago
Welcome to SOPT. Add the question your attempt, to make it easier for them to help you.
– user28595
Thank you Diego. I made a new attempt, now following the implementation of an existing component (Topmenudisposal) in Crux-widgets. A Topmenudisposal interface, its controllers (Small/Large) and XML .xdevice.xml. Annotations are the same as the component. In fact, a copy to see an existing component working from a package of my project. Generate Schemas.Launch has been executed and a new file . xsd is generated. But when running Start Codeserver.Launch, it throws exception.
– Thales Vilela Barbosa
When running Start Codeserver.Aunch generates the exception: Error Parsing cross device file: [topMenuDisposalLarge], for Deviceadaptive interface [br.com.Crux.client.reuse.widget.menudisposal.Topmenudisposal]. java.lang.Illegalargumentexception: Inputstream cannot be null. If you know or have any suggestions, I appreciate your attention. Thank you Diego. Abçs.
– Thales Vilela Barbosa