Hi, I use javac package-info.java, it does not generate a package-info.class too, here is my package-info.java:
package org.bfe.studio.t5.entities; is that correct? only one line. Ulrich Stärk wrote: > > There's your problem. package-info.java should compile into a .class file > and does so in my setup (Eclipse+maven). > > Uli > > Am Do, 26.06.2008, 09:59, schrieb Angelo Chen: >> >> what a fast response! yes I re-do everything under IDEA then run, still >> the >> same, I noticed package-info.java is not compiled and in the same >> directory >> as other *.class, i copied the package-info.java into the entities >> directory, still the same, ? >> >> >> Ulrich Stärk wrote: >>> >>> Did you recompile and redeploy / restart your web container? >>> >>> Uli >>> >>> Am Do, 26.06.2008, 09:36, schrieb Angelo Chen: >>>> >>>> hi uli, >>>> >>>> here is what I did: >>>> >>>> put a package-info.java in the entities directory, one line inside the >>>> fileï¼Âpackage org.bfe.sample.t5.entities; >>>> >>>> but I still get the warning, do I miss something? Thanks, >>>> >>>> Angelo >>>> >>>> >>>> Ulrich Stärk wrote: >>>>> >>>>> Or create a file package-info.java in your package directory and put >>>>> "package yourpackage;" into it. You can also add package documentation >>>>> or >>>>> package-level annotations to it. If you use JavaDoc this file will >>>>> then >>>>> be >>>>> processed instead of package.html. >>>>> >>>>> Uli >>>>> >>>>> Am Do, 26.06.2008, 06:58, schrieb Daniel Jue: >>>>>> It's just a warning, not an error, you can safely ignore this one. >>>>>> =) >>>>>> >>>>>> >>>>>> On Wed, Jun 25, 2008 at 11:13 PM, Angelo Chen >>>>>> <[EMAIL PROTECTED]> >>>>>> wrote: >>>>>> >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> This is an old problem that I was not able to fix, applications >>>>>>> runs, >>>>>>> but >>>>>>> always get this error >>>>>>> >>>>>>> [WARN] AnnotationBinder Package not found or wo package-info.java: >>>>>>> org.bfe.sample.t5.entities >>>>>>> >>>>>>> I do have a hibernate.cfg.xml as follow and it works well: >>>>>>> >>>>>>> <hibernate-configuration> >>>>>>> <session-factory> >>>>>>> <property >>>>>>> name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> >>>>>>> >>>>>>> <!-- List of annotated classes--> >>>>>>> <mapping class="org.bfe.sample.t5.entities.Usr"/> >>>>>>> >>>>>>> </session-factory> >>>>>>> </hibernate-configuration> >>>>>>> >>>>>>> I do remember that somebody suggests putting a package-info.java in >>>>>>> the >>>>>>> entitiies directory, but what needed to be listed? >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Angelo >>>>>>> -- >>>>>>> View this message in context: >>>>>>> http://www.nabble.com/T5%EF%BC%9A-Hibernate-warning-tp18125776p18125776.html >>>>>>> Sent from the Tapestry - User mailing list archive at Nabble.com. >>>>>>> >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/T5%EF%BC%9A-Hibernate-warning-tp18125776p18128153.html >>>> Sent from the Tapestry - User mailing list archive at Nabble.com. >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/T5%EF%BC%9A-Hibernate-warning-tp18125776p18128473.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/T5%EF%BC%9A-Hibernate-warning-tp18125776p18128817.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
