Link to forum in WikiLink to forum in Wikihttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=116511992024-03-29T00:20:33Z2024-03-29T00:20:33ZRE: Link to forum in WikiHitoshi Ozawahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=128152172012-03-03T14:41:43Z2012-03-03T14:41:43ZI'm not too sure about linking to a forum from wiki pages. Forum url may change when the site is upgraded to a new version of Liferay.Hitoshi Ozawa2012-03-03T14:41:43ZRE: Link to forum in WikiDirk Ulrichhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116616402011-12-02T09:38:07Z2011-12-02T09:38:07ZI solved the "error: cannot find symbol" problem. Since I placed the test cases in a package within the service structure, it seems as if the ServiceBuilder found the test cases when scanning for services and tried to build them as a service which failed. Moving the test cases out of the service packages everything works well.<br /><br />However, the 'missing link' ;-) between Wiki and forum would be helpful though.Dirk Ulrich2011-12-02T09:38:07ZLink to forum in WikiDirk Ulrichhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=116511982011-12-01T12:31:47Z2011-12-01T12:31:47Z<html><head></head><body>Hello.<br><p style="text-align: center"><br><strong>Do you agree that a link to the appropriate forum for each topic handled in the Wiki would be beneficial? </strong></p><br><br>I think developer's would appreciate such a link if they use the Wiki and encounter any problem when they try to follow the description in the Wiki. <br>Concretely I want to write junit test cases for my Liferay service. I studied <a href="http://www.liferay.com/de/community/wiki/-/wiki/Main/Running+JUNITS+in+Liferay">JUnit</a> but when I ran the ServiceBuilder I got errors: <blockquote>error: cannot find symbol</blockquote>...<br><br><pre><code>compile-java:
[javac] Compiling 361 source files to D:\data\Projekte\PAP\workspace\liferay-plugins\portlets\pap-portlet\docroot\WEB-INF\service-classes
[javac] D:\data\Projekte\PAP\workspace\liferay-plugins\portlets\pap-portlet\docroot\WEB-INF\service\de\td\digital\pap\test\CatalogServiceTestCase.java:11: error: cannot find symbol
[javac] import com.liferay.portal.service.BaseServiceTestCase;
[javac] ^
[javac] symbol: class BaseServiceTestCase
[javac] location: package com.liferay.portal.service
[javac] D:\data\Projekte\PAP\workspace\liferay-plugins\portlets\pap-portlet\docroot\WEB-INF\service\de\td\digital\pap\test\CatalogServiceTestCase.java:18: error: cannot find symbol
[javac] public class CatalogServiceTestCase extends BaseServiceTestCase {
[javac] ^
[javac] symbol: class BaseServiceTestCase
[javac] D:\data\Projekte\PAP\workspace\liferay-plugins\portlets\pap-portlet\docroot\WEB-INF\service\de\td\digital\pap\test\CatalogServiceTestCase.java:25: error: cannot find symbol
[javac] super.setUp();
[javac] ^
[javac] symbol: variable super
[javac] location: class CatalogServiceTestCase
[javac] D:\data\Projekte\PAP\workspace\liferay-plugins\portlets\pap-portlet\docroot\WEB-INF\service\de\td\digital\pap\test\CatalogServiceTestCase.java:35: error: cannot find symbol
[javac] fail("Not yet implemented");
[javac] ^
[javac] symbol: method fail(String)
[javac] location: class CatalogServiceTestCase
[javac] D:\data\Projekte\PAP\workspace\liferay-plugins\portlets\pap-portlet\docroot\WEB-INF\service\de\td\digital\pap\test\CatalogServiceTestCase.java:43: error: cannot find symbol
[javac] fail("Not yet implemented");
[javac] ^
[javac] symbol: method fail(String)
[javac] location: class CatalogServiceTestCase
[javac] D:\data\Projekte\PAP\workspace\liferay-plugins\portlets\pap-portlet\docroot\WEB-INF\service\de\td\digital\pap\test\CatalogServiceTestCase.java:51: error: cannot find symbol
[javac] fail("Not yet implemented");
[javac] ^
[javac] symbol: method fail(String)
[javac] location: class CatalogServiceTestCase
[javac] D:\data\Projekte\PAP\workspace\liferay-plugins\portlets\pap-portlet\docroot\WEB-INF\service\de\td\digital\pap\test\CatalogServiceTestCase.java:59: error: cannot find symbol
[javac] fail("Not yet implemented");
[javac] ^
[javac] symbol: method fail(String)
[javac] location: class CatalogServiceTestCase
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
BUILD FAILED
D:\data\Projekte\PAP\workspace\liferay-plugins\build-common-plugin.xml:216: The following error occurred while executing this line:
D:\data\Projekte\PAP\workspace\liferay-plugins\build-common.xml:90: Compile failed; see the compiler error output for details.
</code></pre><br><br>... and I wasn't able to solve this problem. Thus, I wanted to visit the forum to find a solution or to post my problem. <br><p style="text-align: center"><strong>(I still do have no solution and would appreciate any help.)</strong></p> Because I had to perform a lot of steps to come here I thought that a shortcut (link) from the Wiki to the appropriate forum would be very nice. Furthermore I think that this would minimize posting topics in the wrong forum which in turn minimizes the needs of moderators to move misp